Versions in this module Expand all Collapse all v0 v0.0.1 Oct 23, 2019 Changes in this version + func ClearDir(dir string) + func CopyDir(dirA, dirB string) + func CopyFile(pathA, pathB string) + func DeleteFile(path string) + func ErrorMsg(msg string) + func Exists(name string) bool + func FilesByPattern(dir string, pattern string) ([]string, error) + func GetWASMExecScript() string + func GrepStyles() ([]string, error) + func GrepStylesCustom(dir string, already map[string]bool) ([]string, error) + func InArrayString(a string, arr []string) bool + func Log(msg string) + func Must(err error) + func NewFile(path, body string) + func RunCommand(command string) + func StartWatcher(onUpdate func(name string), ...) error + func UniteFilesByPaths(paths []string) (string, error) + type BlockCompiler func(*BlockInfo) (string, error) + type BlockInfo struct + FileBytes string + FileInfo File + Name string + Value string + type Builder struct + BlockCompilers []BlockCompiler + func (builder *Builder) CompileFile(fileInfo File, fileBody string) (string, error) + func (builder *Builder) ParseFiles(files []File) error + func (builder *Builder) RenderBlock(block *BlockInfo) (string, error) + type File struct + Extension string + Path string + func GasFiles(extensions []string) ([]File, error) + func GasFilesCustomDir(root string, extensions []string) ([]File, error)