Colors is a simple golang package that provides basic functions on colorful outputing in terminal.
Colors wraps color/format functions provided by ANSI escape code
package main
import (
"github.com/wsxiaoys/colors"
)
func main() {
colors.Println("@rHello world")
colors.Printf("@rHello @b%s", "world!")
}
Check the godoc result for more details.