Output of `make lint` (golangci-lint) for `internal/gitlabnet/authorizedkeys/client.go` and `internal/gitlabnet/authorizedkeys/client_test.go`
internal/gitlabnet/authorizedkeys/client_test.go:10:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/client' is not allowed from list 'Main' (depguard)
internal/gitlabnet/authorizedkeys/client_test.go:11:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/client/testserver' is not allowed from list 'Main' (depguard)
internal/gitlabnet/authorizedkeys/client_test.go:12:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/config' is not allowed from list 'Main' (depguard)
internal/gitlabnet/authorizedkeys/client_test.go:24:5: ifElseChain: rewrite if-else to switch statement (gocritic)
internal/gitlabnet/authorizedkeys/client_test.go:9:2: import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
internal/gitlabnet/authorizedkeys/client.go:1:1: package-comments: should have a package comment (revive)
internal/gitlabnet/authorizedkeys/client.go:10:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/gitlabnet' is not allowed from list 'Main' (depguard)
internal/gitlabnet/authorizedkeys/client.go:14:2: exported: exported const AuthorizedKeysPath should have comment (or a comment on this block) or be unexported (revive)
internal/gitlabnet/authorizedkeys/client.go:17:6: exported: exported type Client should have comment or be unexported (revive)
internal/gitlabnet/authorizedkeys/client.go:22:6: exported: exported type Response should have comment or be unexported (revive)
internal/gitlabnet/authorizedkeys/client.go:23:2: var-naming: struct field Id should be ID (revive)
internal/gitlabnet/authorizedkeys/client.go:27:1: exported: exported function NewClient should have comment or be unexported (revive)
internal/gitlabnet/authorizedkeys/client.go:30:15: ST1005: error strings should not be capitalized (stylecheck)
internal/gitlabnet/authorizedkeys/client.go:36:1: exported: exported method Client.GetByKey should have comment or be unexported (revive)
internal/gitlabnet/authorizedkeys/client.go:46:27: Error return value of `response.Body.Close` is not checked (errcheck)
internal/gitlabnet/authorizedkeys/client.go:8:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/client' is not allowed from list 'Main' (depguard)
internal/gitlabnet/authorizedkeys/client.go:9:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/config' is not allowed from list 'Main' (depguard)