labstack/gommon

No color is produced

Closed this issue · 1 comments

Using this file:

package main
import "github.com/labstack/gommon/color"
func main() {
   color.Println(color.Green("aaaaa bbbbb"))
}

I just get plain white output.

Fix:

package main
import "github.com/labstack/gommon/color"
func main() {
   color.Enable()
   color.Println(color.Green("aaaaa bbbbb"))
}