Fix unit tests #9
Annotations
4 errors and 10 warnings
golangci-lint:
api/api.go#L49
G101: Potential hardcoded credentials (gosec)
|
golangci-lint:
api/api.go#L262
G402: TLS InsecureSkipVerify set true. (gosec)
|
golangci-lint:
api/api.go#L271
G402: TLS MinVersion too low. (gosec)
|
golangci-lint
issues found
|
golangci-lint:
api/api.go#L170
var-naming: don't use underscores in Go names; const Verbose_High should be VerboseHigh (revive)
|
golangci-lint:
api/api.go#L171
var-naming: don't use underscores in Go names; const Verbose_Medium should be VerboseMedium (revive)
|
golangci-lint:
api/api.go#L172
var-naming: don't use underscores in Go names; const Verbose_Low should be VerboseLow (revive)
|
golangci-lint:
api/api.go#L622
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/api.go#L641
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/api.go#L644
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/api.go#L651
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/api.go#L652
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
api/api.go#L690
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
api/api_logging.go#L36
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading