Vec 189 tls #10
Annotations
10 errors and 1 warning
cmd/utils.go#L96
equalFold: consider replacing with strings.EqualFold(confirm, "y") (gocritic)
|
cmd/utils.go#L79
ifElseChain: rewrite if-else to switch statement (gocritic)
|
cmd/flags/constants.go#L32
G101: Potential hardcoded credentials (gosec)
|
cmd/flags/tls.go#L11
fieldalignment: struct with 112 pointer bytes could be 104 (govet)
|
cmd/utils.go#L36
assignments should only be cuddled with other assignments (wsl)
|
cmd/utils.go#L37
only one cuddle assignment allowed before if statement (wsl)
|
cmd/utils.go#L41
expressions should not be cuddled with blocks (wsl)
|
cmd/utils.go#L42
assignments should only be cuddled with other assignments (wsl)
|
cmd/utils.go#L30
if statements should only be cuddled with assignments used in the if statement itself (wsl)
|
cmd/utils.go#L96
equalFold: consider replacing with strings.EqualFold(confirm, "y") (gocritic)
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading