session renewal support for both json and html #12
Annotations
4 errors and 11 warnings
golangci-lint:
api/api.go#L50
G101: Potential hardcoded credentials (gosec)
|
golangci-lint:
api/api.go#L269
G402: TLS InsecureSkipVerify set true. (gosec)
|
golangci-lint:
api/api.go#L278
G402: TLS MinVersion too low. (gosec)
|
golangci-lint
issues found
|
golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/[email protected], 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/.
|
golangci-lint:
api/api.go#L171
var-naming: don't use underscores in Go names; const Verbose_High should be VerboseHigh (revive)
|
golangci-lint:
api/api.go#L172
var-naming: don't use underscores in Go names; const Verbose_Medium should be VerboseMedium (revive)
|
golangci-lint:
api/api.go#L173
var-naming: don't use underscores in Go names; const Verbose_Low should be VerboseLow (revive)
|
golangci-lint:
api/api.go#L658
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/api.go#L677
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/api.go#L680
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/api.go#L687
errorf: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (revive)
|
golangci-lint:
api/api.go#L688
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
api/api.go#L726
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
api/api.go#L736
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|