Skip to content

Commit

Permalink
Merge pull request #14 from ultradns/sdk_patch
Browse files Browse the repository at this point in the history
Golang version Patch
  • Loading branch information
stevedejong authored Nov 7, 2022
2 parents 474023b + d44b3f2 commit f3f1d1d
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 367 deletions.
14 changes: 13 additions & 1 deletion .github/config/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,22 @@ linters:
- interfacer
- scopelint
- maligned
- exhaustivestruct
- nosnakecase
- structcheck
- varcheck
- deadcode
- ifshort
- rowserrcheck
- sqlclosecheck
- wastedassign

# to suppress the errors in struct tags
- tagliatelle
# suppress type assertion warnings since we assert the same we passed
- forcetypeassert
# all struct has omitempty, so all fields in struct are not required
- exhaustivestruct
- exhaustruct
# disable gofumpt since it has conflict with wsl(white space letter) linter
- gofumpt
# integration tests need to done in sequential manner
Expand All @@ -23,12 +32,15 @@ linters:
- wrapcheck
# context needed to be stored in the struct for using refresh token
- containedctx
# Named returns can be additional validations
- nonamedreturns

- gochecknoglobals
- bodyclose
- lll
- noctx
- dupl
- gci


fast: false
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.17.3
1.19.3
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.2
v1.4.0
9 changes: 4 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
module github.com/ultradns/ultradns-go-sdk

go 1.17
go 1.19

require golang.org/x/oauth2 v0.0.0-20211028175245-ba495a64dcb5
require golang.org/x/oauth2 v0.1.0

require (
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.6 // indirect
golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420 // indirect
golang.org/x/net v0.1.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.27.1 // indirect
google.golang.org/protobuf v1.28.0 // indirect
)
Loading

0 comments on commit f3f1d1d

Please sign in to comment.