func NewCachedEnforcer(fs http.FileSystem, paths ...string) (*casbin.CachedEnforcer, error) {
	paths = normalizePaths(paths)
	model, err := NewModel(fs, paths[0])
	if err != nil {
		return nil, err
	}
	return casbin.NewCachedEnforcer(model, NewAdapter(fs, paths[1]))
}
// NewCachedEnforcer returns a newly initialized CachedEnforcer instance.
NewCachedEnforcer returns a newly initialized CachedEnforcer instance.
// NewCachedEnforcer returns a newly initialized CachedEnforcer instance .
func NewCachedEnforcer(fs http.FileSystem, paths ...string) (*casbin.CachedEnforcer, error) {
	paths = normalizePaths(paths)
	model, err := NewModel(fs, paths[0])
	if err != nil {
		return nil, err
	}
	return casbin.NewCachedEnforcer(model, NewAdapter(fs, paths[1]))
}
func NewCachedEnforcer ( fs http . FileSystem , paths ... string ) ( * casbin . CachedEnforcer , error ) { paths = normalizePaths ( paths ) model , err := NewModel ( fs , paths [ 0 ] ) if err != nil { return nil , err } return casbin . NewCachedEnforcer ( model , NewAdapter ( fs , paths [ 1 ] ) ) }
NewCachedEnforcer returns a newly initialized CachedEnforcer instance.
NewCachedEnforcer returns a newly initialized CachedEnforcer instance .