Versions in this module Expand all Collapse all v1 v1.0.10 Dec 5, 2020 v1.0.9 Dec 5, 2020 v1.0.8 Dec 5, 2020 v1.0.7 Dec 5, 2020 Changes in this version + var NO_APP_FOUND = errors.New("No app found") + var NO_REVEL_FOUND = errors.New("No revel found") + type SourceError struct + Column int + Description string + Line int + Link string + MetaError string + Path string + SourceLines []string + SourceType string + Stack string + Title string + func NewCompileError(importPath, errorLink string, error error) *SourceError + func (e *SourceError) ContextSource() []SourceLine + func (e *SourceError) Error() string + func (e *SourceError) SetLink(errorLink string) v0 v0.21.1 Nov 2, 2018 v0.21.0 Oct 30, 2018 Changes in this version type Error + func NewError(source, title, path, description string) *Error v0.20.2 Oct 2, 2018 v0.20.1 Oct 1, 2018 Changes in this version + func CmdInit(c *exec.Cmd, basePath string) + func CopyDir(destDir, srcDir string, data map[string]interface{}) error + func CopyFile(destFilename, srcFilename string) (err error) + func FindSrcPaths(appImportPath, revelImportPath string, ...) (appSourcePath, revelSourcePath string, err error) + func GenerateTemplate(filename, templateSource string, args map[string]interface{}) (err error) + func GetEnv(name string) string + func NewBuildIfError(err error, message string, args ...interface{}) (b error) + func RenderTemplate(destPath, srcPath string, data interface{}) (err error) + func RenderTemplateToStream(output io.Writer, srcPath []string, data interface{}) (err error) + func TarGzDir(destFilename, srcDir string) (name string, err error) + type BuildError struct + Args []interface{} + Message string + Stack interface{} + func NewBuildError(message string, args ...interface{}) (b *BuildError) + func (b *BuildError) Error() string v0.20.0 Sep 22, 2018 Changes in this version + var Logger = logger.New() + func ContainsString(list []string, target string) bool + func DirExists(filename string) bool + func Empty(dirname string) bool + func Exists(filename string) bool + func ImportPathFromCurrentDir() string + func InitLogger(basePath string, logLevel logger.LogLevel) + func MustChmod(filename string, mode os.FileMode) + func MustCopyDir(destDir, srcDir string, data map[string]interface{}) error + func MustCopyFile(destFilename, srcFilename string) + func MustGenerateTemplate(filename, templateSource string, args map[string]interface{}) (err error) + func MustReadLines(filename string) []string + func MustRenderTemplate(destPath, srcPath string, data interface{}) + func MustRenderTemplateToStream(output io.Writer, srcPath []string, data interface{}) + func MustTarGzDir(destFilename, srcDir string) string + func PanicOnError(err error, msg string) + func ReadLines(filename string) ([]string, error) + func Retry(format string, args ...interface{}) + func Walk(root string, walkFn filepath.WalkFunc) error + type Error struct + Column int + Description string + Line int + Link string + MetaError string + Path string + SourceLines []string + SourceType string + Stack string + Title string + 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