mikespook/gorbac

Error handling now done correctly

virajindasrao opened this issue · 1 comments

func (p *StdPermission) Match(a Permission) bool {

api:runtime error: invalid memory address or nil pointer dereference
github.com/mikespook/gorbac/permission.go:33
github.com/mikespook/gorbac/role.go:53
github.com/mikespook/gorbac/rbac.go:199
github.com/mikespook/gorbac/rbac.go:194
github.com/mikespook/gorbac/helper.go:78

Could you give me more details? Thanks!