Skip to content

Update casbin to v2 #10

@rolandjitsu

Description

@rolandjitsu

I'm having some trouble using v2 of casbin with this pacakge:

./api.go:88:28: cannot use ce (type *"github.com/casbin/casbin/v2".Enforcer) as type *"github.com/casbin/casbin".Enforcer in argument to "github.com/labstack/echo-contrib/casbin".Middleware

Would be nice to update the casbin dep to v2.

P.S. I could make a quick PR if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions