"open ./permission/rbac_models.conf: The system cannot find the path specified."
引入相对文件报错 "open ./permission/rbac_models.conf: The system cannot find the path specified."
casbin.NewEnforcer("./permission/rbac_models.conf", a)
修改为
MyEnforcer, err = casbin.NewEnforcer("middlewares/permission/rbac_models.conf", a)