package urbac import ( "github.com/loveuer/urbac/cache" "github.com/loveuer/urbac/store" ) func WithPersistentStore(store store.Store) Option { return func(u *Urbac) { u.store = store } } func WithCache(cache cache.Cache) Option { return func(u *Urbac) { u.cache = cache } }