Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OsProxy ¶
type OsProxy struct {
ReadFileIfExists func(pth string) (string, bool, error)
MkdirAll func(string, os.FileMode) error
WriteFile func(string, []byte, os.FileMode) error
}
func DefaultOsProxy ¶
func DefaultOsProxy() OsProxy
type TemplateProxy ¶
type TemplateProxy struct {
Parse func(name string, templateText string) (*template.Template, error)
Execute func(*template.Template, *bytes.Buffer, interface{}) error
}
func DefaultTemplateProxy ¶
func DefaultTemplateProxy() TemplateProxy
Click to show internal directories.
Click to hide internal directories.