// SetWebsiteConfig sets the config.Reader to the Website. Default reader is // config.DefaultManager. You should call this function before calling other // option functions otherwise your preferred config.Reader won't be inherited // to a Group or Store. func SetWebsiteConfig(cr config.Getter) WebsiteOption { return func(w *Website) { w.cr = cr w.crDefault = cr.NewScoped(0, 0, 0) } }