Colour and style for the terminal.
Run the example:
go run examples/example.go
Use the library:
s := goansi.Anstring("I am black on green.").Black().BgGreen().Underline()
fmt.Println(s)
Or
style := goansi.NewStyle().Gray().BgBlue().Bold().BlinkSlow()
fmt.Println(style.Render("I am white on blue."))
BSD 3-Clause: LICENSE.txt