Skip to content

Commit

Permalink
feat(centralnic-reseller-go-sdk): introducing CentralNic Reseller Go …
Browse files Browse the repository at this point in the history
…SDK API Connector

BREAKING CHANGE: We have deprecated the Hexonet Go SDK and introduced the CentralNic Reseller Go SDK.
  • Loading branch information
AsifNawaz-cnic committed Oct 21, 2024
1 parent f6b96a0 commit 959c2cd
Show file tree
Hide file tree
Showing 20 changed files with 503 additions and 604 deletions.
17 changes: 12 additions & 5 deletions .golangci.yml → .github/linters/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#########################
#########################

# https://raw.githubusercontent.com/super-linter/super-linter/main/.github/linters/.golangci.yml

# configure golangci-lint
# see https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml
issues:
exclude-rules:
- path: _test\.go
Expand All @@ -22,13 +22,20 @@ linters:
- goconst
- goimports
- gocritic
- govet
- revive
- shadow # Added shadow linter
linters-settings:
errcheck:
# report about assignment of errors to blank identifier
# report about assignment of errors to blank identifier: `num, _ := strconv.Atoi(numStr)`;
# default is false: such cases aren't reported by default.
check-blank: true
govet:
enable:
# report about shadowed variables
- shadowing
gocyclo:
# minimal code complexity to report, 30 by default
min-complexity: 15
min-complexity: 20
maligned:
# print struct with more effective memory layout or not, false by default
suggest-new: true
Loading

0 comments on commit 959c2cd

Please sign in to comment.