Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store chains multiple TemplateProviders. Get checks the writable provider first, then each reader in order. Register and RegisterFS delegate to the writable provider.
func NewStore ¶
func NewStore(writable gas.TemplateProvider, readers ...gas.TemplateProvider) *Store
NewStore creates a composite store. The writable provider receives Register/RegisterFS calls and is checked first during Get. Readers are checked in order as fallbacks.
func (*Store) Get ¶
Get tries the writable provider first, then each reader in order. Returns template.ErrTemplateNotFound if no provider has the template.
Click to show internal directories.
Click to hide internal directories.