Documentation
¶
Index ¶
- func CamelToLowerCamel(s string) string
- func Copy(source, target, exclude string) (out []byte, err error)
- func CreateFile(path string) (*os.File, error)
- func CreateFileContent(path, data string) (err error)
- func ExecuteTemplate(t *template.Template, path string, m interface{})
- func ExecuteTemplateBase(t *template.Template, path string, m interface{}, before func([]byte) []byte)
- func ExecuteTemplateConf(temps []TemplateConfig)
- func GetTemplate(t string) (tmpl *template.Template)
- func GetTemplateByPath(path string) *template.Template
- func MkdirAll(path string) error
- func PathExists(path string) (bool, error)
- func ReadAll(filePth string) ([]byte, error)
- type TemplateConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CamelToLowerCamel ¶
func CreateFileContent ¶
func ExecuteTemplate ¶
func ExecuteTemplateBase ¶
func ExecuteTemplateConf ¶
func ExecuteTemplateConf(temps []TemplateConfig)
func GetTemplate ¶
func GetTemplateByPath ¶
func PathExists ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.