log function
This commit is contained in:
parent
7874ec7619
commit
a90970fb06
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue