chore(vault-kubernetes-kms): add boilerplate code #8
Annotations
10 errors and 2 warnings
lint:
pkg/testutils/testutils.go#L23
undeclared name: `testcontainers` (typecheck)
|
lint:
pkg/testutils/testutils.go#L37
undeclared name: `testcontainers` (typecheck)
|
lint:
pkg/testutils/testutils.go#L52
undeclared name: `testcontainers` (typecheck)
|
lint:
cmd/main.go#L42
Function 'main' has too many statements (51 > 40) (funlen)
|
lint:
pkg/kms/kms.go#L26
block should not start with a whitespace (wsl)
|
lint:
pkg/kms/kms.go#L63
Function `Encrypt->Write` should pass the context parameter (contextcheck)
|
lint:
pkg/kms/kms.go#L82
Function `Decrypt->Write` should pass the context parameter (contextcheck)
|
lint:
pkg/kms/kms.go#L44
type assertion must be checked (forcetypeassert)
|
lint:
pkg/socket/socket.go#L25
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"path missing\")" (goerr113)
|
lint:
pkg/logging/zap.go#L15
mnd: Magic number: 100, in <assign> detected (gomnd)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
pkg/kms/kms.go#L37
var-naming: don't use underscores in Go names; var key_versions should be keyVersions (revive)
|