Versions in this module Expand all Collapse all v0 v0.21.1 Nov 2, 2018 Changes in this version + var Logger = logger.New() + func CmdInit(c *exec.Cmd, basePath string) + func ContainsString(list []string, target string) bool + func CopyDir(destDir, srcDir string, data map[string]interface{}) error + func CopyFile(destFilename, srcFilename string) (err error) + func DirExists(filename string) bool + func Empty(dirname string) bool + func Exists(filename string) bool + func FindSrcPaths(appImportPath, revelImportPath string, ...) (appSourcePath, revelSourcePath string, err error) + func GenerateTemplate(filename, templateSource string, args map[string]interface{}) (err error) + func InitLogger(basePath string, logLevel logger.LogLevel) + func MustChmod(filename string, mode os.FileMode) + func MustReadLines(filename string) []string + func NewBuildIfError(err error, message string, args ...interface{}) (b error) + func PanicOnError(err error, msg string) + func ReadLines(filename string) ([]string, error) + func RenderTemplate(destPath, srcPath string, data interface{}) (err error) + func RenderTemplateToStream(output io.Writer, srcPath []string, data interface{}) (err error) + func Retry(format string, args ...interface{}) + func TarGzDir(destFilename, srcDir string) (name string, err error) + func Walk(root string, walkFn filepath.WalkFunc) error + type BuildError struct + Args []interface{} + Message string + Stack interface{} + func NewBuildError(message string, args ...interface{}) (b *BuildError) + func (b *BuildError) Error() string + type Error struct + Column int + Description string + Line int + Link string + MetaError string + Path string + SourceLines []string + SourceType string + Stack string + Title string + func NewError(source, title, path, description string) *Error + func (e *Error) ContextSource() []SourceLine + func (e *Error) Error() string + func (e *Error) SetLink(errorLink string) + type LoggedError struct + func NewLoggedError(err error) *LoggedError + type SourceLine struct + IsError bool + Line int + Source string