Skip to content

Commit ff197a5

Browse files
feat(centralnic-reseller-go-sdk): Introducing CentralNic Reseller Go-SDK API Connector
BREAKING CHANGE: In this release we have deprecated the Hexonet Go SDK and introduced the CentralNic Reseller Go SDK.
1 parent f6b96a0 commit ff197a5

File tree

22 files changed

+559
-613
lines changed

22 files changed

+559
-613
lines changed

.golangci.yml renamed to .github/linters/.golangci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#########################
66
#########################
77

8-
# https://raw.githubusercontent.com/super-linter/super-linter/main/.github/linters/.golangci.yml
9-
8+
# configure golangci-lint
9+
# see https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml
1010
issues:
1111
exclude-rules:
1212
- path: _test\.go
@@ -22,13 +22,20 @@ linters:
2222
- goconst
2323
- goimports
2424
- gocritic
25+
- govet
2526
- revive
26-
- shadow # Added shadow linter
2727
linters-settings:
2828
errcheck:
29-
# report about assignment of errors to blank identifier
29+
# report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
3030
# default is false: such cases aren't reported by default.
3131
check-blank: true
32+
govet:
33+
enable:
34+
# report about shadowed variables
35+
- shadowing
3236
gocyclo:
3337
# minimal code complexity to report, 30 by default
34-
min-complexity: 15
38+
min-complexity: 20
39+
maligned:
40+
# print struct with more effective memory layout or not, false by default
41+
suggest-new: true

apiclient.go

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

0 commit comments

Comments
 (0)