Skip to content

remove route

remove route #23

Triggered via push May 23, 2024 21:28
Status Failure
Total duration 30s
Artifacts

lint.yaml

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

Annotations

10 errors
Run linters: external/v3/user-role/router.go#L7
could not import github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth (-: import cycle not allowed: import stack: [github.com/VATUSA/primary-api/external github.com/VATUSA/primary-api/external/v3 github.com/VATUSA/primary-api/external/v3/facility github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth github.com/VATUSA/primary-api/external/v3/user-role github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth]) (typecheck)
Run linters: pkg/go-chi/middleware/auth/action_log.go#L1
: import cycle not allowed: import stack: [github.com/VATUSA/primary-api/external github.com/VATUSA/primary-api/external/v3 github.com/VATUSA/primary-api/external/v3/facility github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth github.com/VATUSA/primary-api/external/v3/user-role github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth] (typecheck)
Run linters: external/v3/facility/router.go#L7
could not import github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth (-: import cycle not allowed: import stack: [github.com/VATUSA/primary-api/external github.com/VATUSA/primary-api/external/v3 github.com/VATUSA/primary-api/external/v3/facility github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth github.com/VATUSA/primary-api/external/v3/user-role github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth]) (typecheck)
Run linters: external/v3/user/router.go#L6
could not import github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth (-: import cycle not allowed: import stack: [github.com/VATUSA/primary-api/external github.com/VATUSA/primary-api/external/v3 github.com/VATUSA/primary-api/external/v3/facility github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth github.com/VATUSA/primary-api/external/v3/user-role github.com/VATUSA/primary-api/pkg/go-chi/middleware/auth]) (typecheck)
Run linters: external/v3/user/router.go#L19
undefined: middleware (typecheck)
Run linters: external/v3/user/router.go#L20
undefined: middleware (typecheck)
Run linters: external/v3/user/router.go#L21
undefined: middleware (typecheck)
Run linters: pkg/constants/role.go#L444
S1005: unnecessary assignment to the blank identifier (gosimple)
Run linters: cmd/database/migration.go#L102
S1023: redundant `return` statement (gosimple)
Run linters: cmd/database/migration.go#L262
unusedresult: result of fmt.Sprintf call not used (govet)