fatih/color

API to convert text to ascii color but not print

ORESoftware opened this issue · 2 comments

I didn't expect this to print the text:

color.Cyan("Prints text in cyan.")

instead I am looking for an API that does this:

log.Println(color.Cyan("text in cyan"))

where can I find this API?

thanks yeah this worked for me: https://github.com/logrusorgru/aurora