From a90970fb069dd2b63060770d5d8a973dc48037f6 Mon Sep 17 00:00:00 2001 From: alessio Date: Thu, 4 Aug 2016 21:57:40 +0200 Subject: [PATCH] log function --- realize/app.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/realize/app.go b/realize/app.go index 8547bd3..33cf984 100644 --- a/realize/app.go +++ b/realize/app.go @@ -4,6 +4,7 @@ import ( "github.com/fatih/color" "sync" "fmt" + "log" ) const( @@ -48,6 +49,10 @@ func Success(msg string){ fmt.Println(green(msg)) } +func LogSuccess(msg string){ + log.Println(green(msg)) +} + func (app *App) Information(){ fmt.Println(blue(app.Name)+" - "+blue(app.Version))