log function

This commit is contained in:
alessio 2016-08-04 21:57:40 +02:00
parent 7874ec7619
commit a90970fb06
1 changed files with 5 additions and 0 deletions

View File

@ -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))