This commit is contained in:
alessio 2016-08-23 16:51:28 +02:00
parent 7b110a0981
commit 04d3105229
1 changed files with 6 additions and 0 deletions

View File

@ -46,8 +46,13 @@ var MagentaS = color.New(color.FgMagenta).SprintFunc()
// Magenta color bold // Magenta color bold
var Magenta = color.New(color.FgMagenta, color.Bold).SprintFunc() var Magenta = color.New(color.FgMagenta, color.Bold).SprintFunc()
// WatcherIgnores is an array of default ignored paths
var watcherIgnores = []string{"vendor", "bin"} var watcherIgnores = []string{"vendor", "bin"}
// WatcherExts is an array of default exts
var watcherExts = []string{".go"} var watcherExts = []string{".go"}
// WatcherPaths is an array of default watched paths
var watcherPaths = []string{"/"} var watcherPaths = []string{"/"}
type logWriter struct{} type logWriter struct{}
@ -72,6 +77,7 @@ func init() {
} }
} }
// Info returns the general informations about Realize
func Info() *App { func Info() *App {
return &App{ return &App{
Name: AppName, Name: AppName,