big desktop #20
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/facility.go#L5
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/facility/router.go#L31
cannot use facilityID (variable of type string) as constants.FacilityID value in struct literal (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)
|
Loading