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: In this release we have deprecated the Hexonet Go SDK and introduced the CentralNic Reseller Go SDK.
  • Loading branch information
AsifNawaz-cnic committed Oct 23, 2024
1 parent f6b96a0 commit ff197a5
Show file tree
Hide file tree
Showing 22 changed files with 559 additions and 613 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
9 changes: 0 additions & 9 deletions apiclient.go

This file was deleted.

Loading

0 comments on commit ff197a5

Please sign in to comment.