golang color change stdout
This package is easy to use.You can Just use ChangeColorAndStyle() to change the foreground,background and the font style.See ccg.go const Color And Style.
Usage:
ChangeColorAndStyle(Underline, Green, None)
fmt.Println("underline green white")
ResetColor()
ChangeColorAndStyle(Flicker, Blue, None)
fmt.Println("Flicker Blue none")
ResetColor()
You can test with the tesh.sh.