Documentation ¶
Overview ¶
Go lang template http.FileSystem
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileSystem ¶
type FileSystem struct { Engines map[string]Engine PageTemplete *template.Template FileSystem http.FileSystem // contains filtered or unexported fields }
func New ¶
func New(fs http.FileSystem, layout *template.Template, engines ...Engine) *FileSystem
func (*FileSystem) FindEngine ¶
func (t *FileSystem) FindEngine(name string) Engine
func (*FileSystem) RegEngine ¶
func (t *FileSystem) RegEngine(e Engine, exts ...string)
Click to show internal directories.
Click to hide internal directories.