Versions in this module Expand all Collapse all v1 v1.0.1 Mar 7, 2024 v1.0.0 Dec 26, 2023 Changes in this version + var ErrInvalidDatabaseLink = errors.New("invalid database link") + type Enforcer = casbin.Enforcer + func NewEnforcer(opt *Options) (enforcer *Enforcer, err error) + type Options struct + AutoLoad bool + DB gdb.DB + Debug bool + Duration time.Duration + Enable bool + Link string + Model string + Table string