Fixed go mod version issues #30
test.yml
on: push
Lint Code
56s
Build
48s
Matrix: Run Tests
Annotations
10 errors
|
Lint Code:
pkg/reflection/generic_model.go#L29
S1021: should merge variable declaration with assignment on next line (staticcheck)
|
|
Lint Code:
pkg/common/adapters/database/bun.go#L347
S1009: should omit nil check; len() for nil maps is defined as zero (staticcheck)
|
|
Lint Code:
pkg/restheadspec/headers.go#L108
File is not properly formatted (gofmt)
|
|
Lint Code:
pkg/restheadspec/handler.go#L2039
ifElseChain: rewrite if-else to switch statement (gocritic)
|
|
Lint Code:
pkg/restheadspec/handler.go#L1738
ifElseChain: rewrite if-else to switch statement (gocritic)
|
|
Lint Code:
pkg/restheadspec/handler.go#L1658
nilValReturn: returned expr is always nil; replace data with nil (gocritic)
|
|
Lint Code:
pkg/restheadspec/handler.go#L1222
unnamedResult: consider giving a name to these results (gocritic)
|
|
Lint Code:
pkg/restheadspec/handler.go#L806
ifElseChain: rewrite if-else to switch statement (gocritic)
|
|
Lint Code:
pkg/reflection/model_utils.go#L354
unnamedResult: consider giving a name to these results (gocritic)
|
|
Lint Code:
pkg/reflection/model_utils.go#L135
equalFold: consider replacing with strings.EqualFold(field.Name, name) (gocritic)
|