Skip to content

Add rating constants (because I need it for training, and I'd rather … #10

Add rating constants (because I need it for training, and I'd rather …

Add rating constants (because I need it for training, and I'd rather … #10

Triggered via push March 25, 2024 06:39
Status Failure
Total duration 2m 56s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Run linters: internal/v1/user/router.go#L1
: # github.com/VATUSA/primary-api/internal/v1/user
Run linters: internal/v1/user/user.go#L90
cannot use req.ControllerRating (variable of type uint) as constants.ATCRating value in struct literal
Run linters: internal/v1/user/user.go#L189
cannot use req.ControllerRating (variable of type uint) as constants.ATCRating value in assignment (typecheck)
Run linters: internal/v1/router.go#L10
could not import github.com/VATUSA/primary-api/internal/v1/user (-: # github.com/VATUSA/primary-api/internal/v1/user
Run linters: internal/v1/user/user.go#L90
cannot use req.ControllerRating (variable of type uint) as constants.ATCRating value in struct literal
Run linters: internal/v1/user/user.go#L189
cannot use req.ControllerRating (variable of type uint) as constants.ATCRating value in assignment) (typecheck)
Run linters
issues found