Skip to content

feat(SPV-793): add function to parse query params into new search struct #2856

feat(SPV-793): add function to parse query params into new search struct

feat(SPV-793): add function to parse query params into new search struct #2856

Triggered via pull request August 26, 2024 12:47
Status Failure
Total duration 3m 5s
Artifacts

run-tests.yml

on: pull_request
Run yaml linter
3s
Run yaml linter
Ask Nancy (check dependencies)
17s
Ask Nancy (check dependencies)
Matrix: test
Fit to window
Zoom out
Zoom in

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