@@ -5,35 +5,35 @@ import (
55)
66
77const (
8- ColorReset = "\033 [0m"
9- ColorRed = "\033 [31m"
10- ColorGreen = "\033 [32m"
11- ColorBlue = "\033 [34m"
12- ColorYellow = "\033 [33m"
13- ColorWhite = "\033 [37m"
8+ ColorReset = "\033 [0m"
9+ ColorRed = "\033 [31m"
10+ ColorGreen = "\033 [32m"
11+ ColorBlue = "\033 [34m"
12+ ColorYellow = "\033 [33m"
13+ ColorWhite = "\033 [37m"
1414)
1515
1616func Info (msg string , args ... interface {}) {
17- formatted := fmt .Sprintf (msg , args ... )
18- fmt .Println (ColorWhite , formatted , ColorReset )
17+ formatted := fmt .Sprintf (msg , args ... )
18+ fmt .Println (ColorWhite , formatted , ColorReset )
1919}
2020
2121func Wait (msg string , args ... interface {}) {
22- formatted := fmt .Sprintf (msg , args ... ) + "..."
23- fmt .Println (ColorBlue , formatted , ColorReset )
22+ formatted := fmt .Sprintf (msg , args ... ) + "..."
23+ fmt .Println (ColorBlue , formatted , ColorReset )
2424}
2525
2626func Good (msg string , args ... interface {}) {
27- formatted := fmt .Sprintf (msg , args ... )
28- fmt .Println (ColorGreen , formatted , ColorReset )
27+ formatted := fmt .Sprintf (msg , args ... )
28+ fmt .Println (ColorGreen , formatted , ColorReset )
2929}
3030
3131func Warn (msg string , args ... interface {}) {
32- formatted := fmt .Sprintf (msg , args ... )
33- fmt .Println (ColorYellow , formatted , ColorReset )
32+ formatted := fmt .Sprintf (msg , args ... )
33+ fmt .Println (ColorYellow , formatted , ColorReset )
3434}
3535
3636func Error (msg string , args ... interface {}) {
37- formatted := fmt .Sprintf (msg , args ... )
38- fmt .Println (ColorRed , formatted , ColorReset )
37+ formatted := fmt .Sprintf (msg , args ... )
38+ fmt .Println (ColorRed , formatted , ColorReset )
3939}
0 commit comments