admin
admin copied to clipboard
cannot go run main.go
I cannot go run main.go when getting started following documentation.
And Error is
vendor/github.com/qor/admin/route_handler.go:45: cannot convert 0 to type roles.PermissionMode
vendor/github.com/qor/admin/route_handler.go:45: invalid operation: handler.Config.PermissionMode == 0 (mismatched types roles.PermissionMode and int)
This problem’s solution is version. I'm using version1.0.0.
This problem’s solution is version.
be careful with tagged releases. they weren't updated in ages. ( https://github.com/qor/qor/issues/214 )