package
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Jul 2, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Store is an in-memory template store implementing gas.TemplateProvider.
Safe for concurrent use.
NewStore creates an empty in-memory template store.
Get returns the raw template content by name.
List returns all available template names in sorted order.
Register adds or replaces a template by name and raw content.
RegisterFS walks an fs.FS and registers every .html file found.
Names are relative paths with forward slashes (e.g. "layouts/base.html").
Source Files
¶
Click to show internal directories.
Click to hide internal directories.