Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datasource ¶
type Datasource struct { Box packr.Box // The Box containing all the templates Extension string // We need the extension to use convenience names }
Datasource uses a packr.Box for providing data
func (*Datasource) LoadContent ¶
func (d *Datasource) LoadContent(name string) (string, error)
LoadContent is needed to fulfill giraffe.Datasource interface type
Click to show internal directories.
Click to hide internal directories.