1
0
mirror of https://gitea.com/jolheiser/sip synced 2024-11-23 04:12:00 +01:00
sip/modules/stdout/stdout.go
jolheiser 5b7b970a06
Initial progress
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2020-02-14 14:46:02 -06:00

20 lines
359 B
Go

package stdout
import (
"fmt"
"gitea.com/jolheiser/beaver/color"
)
var (
red = color.New(color.FgRed)
green = color.New(color.FgGreen)
)
func Red(format string, args ...interface{}) {
fmt.Println(red.Format(fmt.Sprintf(format, args...)))
}
func Green(format string, args ...interface{}) {
fmt.Println(green.Format(fmt.Sprintf(format, args...)))
}