Skip to content

Commit f4f6d75

Browse files
committed
Remove old Astarte client
As the last step of resolving #33, replace the old client package with a new one, more idiomatic and simple. Signed-off-by: Arnaldo Cesco <arnaldo.cesco@secomind.com>
1 parent d4b8b6a commit f4f6d75

36 files changed

+216
-4970
lines changed

.golangci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ linters-settings:
120120
linters:
121121
disable-all: true
122122
enable:
123-
# - bodyclose # too many false positives (we close the response in Parse, but generate it in Run)
123+
- bodyclose
124124
- dupl
125125
- funlen
126126
- gochecknoinits
@@ -134,7 +134,7 @@ linters:
134134
- goprintffuncname
135135
- gosec
136136
#- lll
137-
# - fieldalignment # Disabled temporairly
137+
# - fieldalignment # TODO: Disabled temporairly, enable it back when memory aligning fields
138138
- misspell
139139
- prealloc
140140
- exportloopref
@@ -173,7 +173,14 @@ issues:
173173
- linters:
174174
- gocyclo
175175
- funlen
176+
- gocognit
176177
source: "^func validateType"
178+
179+
- linters:
180+
- gocyclo
181+
- funlen
182+
- gocognit
183+
source: "^func validate"
177184

178185
# We might have some unused boilerplate functions
179186
- linters:

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
## [Unreleased]
88
### Changed
99
- Replace device `metadata` with `attributes`.
10+
- BREAKING: Remove the 0.90.1 Astarte client API and introduce a clean, idiomatic API.
11+
See [#33](https://github.com/astarte-platform/astarte-go/issues/33).
1012

1113
## [0.90.1] - 2021-03-03
1214
### Changed

client/api_types.go

Lines changed: 0 additions & 178 deletions
This file was deleted.

0 commit comments

Comments
 (0)