Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(options *Options)
func Path ¶
Path sets the path to the source template file. The path is either relative to the user's CWD or, if an external http.Filesystem is provided, relative to that filesystem.
func UseFilesystem ¶
func UseFilesystem(fs http.FileSystem) Option
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
func NewTemplate ¶
func (*Template) SourceFileExists ¶
SourceFileExists returns 'true' if the source template file exists
Click to show internal directories.
Click to hide internal directories.