fix postgresql init #16
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)
|