feat(SPV-793): add function to parse query params into new search struct #2856
run-tests.yml
on: pull_request
Run yaml linter
3s
Ask Nancy (check dependencies)
17s
error-lint
1m 40s
style-lint
44s
Matrix: test
Annotations
5 errors
error-lint:
internal/query/parse.go#L11
exported: exported function ParseSearchParams should have comment or be unexported (revive)
|
error-lint:
internal/query/parse_test.go#L108
SA5008: unknown JSON option "squash" (staticcheck)
|
error-lint:
internal/query/parse.go#L28
error returned from external package is unwrapped: sig: func github.com/mitchellh/mapstructure.NewDecoder(config *github.com/mitchellh/mapstructure.DecoderConfig) (*github.com/mitchellh/mapstructure.Decoder, error) (wrapcheck)
|
error-lint:
internal/query/parse.go#L33
error returned from external package is unwrapped: sig: func (*github.com/mitchellh/mapstructure.Decoder).Decode(input interface{}) error (wrapcheck)
|
error-lint
issues found
|