admin icon indicating copy to clipboard operation
admin copied to clipboard

cannot go run main.go

Open ghost opened this issue 8 years ago • 2 comments

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)

ghost avatar May 19 '17 09:05 ghost

This problem’s solution is version. I'm using version1.0.0.

riboh avatar May 19 '17 11:05 riboh

This problem’s solution is version.

be careful with tagged releases. they weren't updated in ages. ( https://github.com/qor/qor/issues/214 )

cryptix avatar Jan 05 '19 11:01 cryptix