Skip to content

fix postgresql init #16

fix postgresql init

fix postgresql init #16

Triggered via push February 3, 2026 03:41
Status Failure
Total duration 1m 26s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Test and Lint: internal/router/router.go#L6
could not import github.com/capyrpi/api/internal/handler (-: # github.com/capyrpi/api/internal/handler
Test and Lint: internal/handler/users.go#L204
user.Role.UserRole undefined (type interface{} has no field or method UserRole) (typecheck)
Test and Lint: internal/handler/users.go#L71
undefined: database.UserRole
Test and Lint: internal/handler/users.go#L71
undefined: database.NullUserRole
Test and Lint: internal/handler/users.go#L69
undefined: database.NullUserRole
Test and Lint: internal/handler/auth.go#L590
undefined: database.UserRoleStudent
Test and Lint: internal/handler/auth.go#L590
undefined: database.NullUserRole
Test and Lint: internal/handler/auth.go#L462
user.Role.UserRole undefined (type interface{} has no field or method UserRole)
Test and Lint: internal/handler/auth.go#L296
user.Role.UserRole undefined (type interface{} has no field or method UserRole)
Test and Lint: internal/handler/auth.go#L226
user.Role.UserRole undefined (type interface{} has no field or method UserRole)