var Reset = "\033[0m" var Red = "\033[31m" var Green = "\033[32m" var Yellow = "\033[33m" var Blue = "\033[34m" var Purple = "\033[35m" var Cyan = "\033[36m" var Gray = "\033[37m" var White = "\033[97m"
funcinit() { if runtime.GOOS == "windows" { Reset = "" Red = "" Green = "" Yellow = "" Blue = "" Purple = "" Cyan = "" Gray = "" White = "" } }
funcmain() { println(color.Ize(color.Red, "This is red")) // Or if you prefer the longer version println(color.Colorize(color.Red, "This is also red")) }