Skip to content

so much stuff

so much stuff #50

Triggered via push August 25, 2024 18:43
Status Failure
Total duration 52s
Artifacts

lint.yaml

on: push
Run linters
45s
Run linters
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Run linters: cmd/api/external/main.go#L1
: # github.com/VATUSA/primary-api/cmd/api/external
Run linters: cmd/api/external/main_tls.go#L19
main redeclared in this block
Run linters: cmd/api/external/main.go#L18
other declaration of main (typecheck)
Run linters: pkg/go-chi/middleware/auth/action_log.go#L36
S1023: redundant `return` statement (gosimple)
Run linters: pkg/go-chi/middleware/auth/action_log.go#L62
S1023: redundant `return` statement (gosimple)
Run linters: pkg/go-chi/middleware/auth/disciplinary_log.go#L53
S1023: redundant `return` statement (gosimple)
Run linters: external/v3/facility-log/facility_log.go#L81
printf: fmt.Sprintf format %d has arg self of wrong type *github.com/VATUSA/primary-api/pkg/database/models.User (govet)
Run linters: external/v3/facility-log/facility_log.go#L164
printf: fmt.Sprintf format %d has arg self of wrong type *github.com/VATUSA/primary-api/pkg/database/models.User (govet)
Run linters: external/v3/facility-log/facility_log.go#L213
printf: fmt.Sprintf format %d has arg self of wrong type *github.com/VATUSA/primary-api/pkg/database/models.User (govet)
Run linters: pkg/go-chi/middleware/auth/feedback.go#L36
SA4027: (*net/url.URL).Query returns a copy, modifying it doesn't change the URL (staticcheck)