ansi is an ANSI escape sequence library for Google Go.
If the output supported ANSI escape codes, you can print colored strings using the utility functions in this library.
fmt.Println(ansi.Red("This string will be red", None))
You can also apply modifiers to the output strings to make the text bold, italic or underlined.
fmt.Println(ansi.Red("This string will be bold red", Bold))
fmt.Println(ansi.Red("This string will be bold and underlined red", Bold|Underline))
ansi is licensed under the MIT license.