Closed ORESoftware closed 4 years ago
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?
I think this is what you want: https://github.com/fatih/color#insert-into-noncolor-strings-sprintfunc
thanks yeah this worked for me: https://github.com/logrusorgru/aurora
I didn't expect this to print the text:
instead I am looking for an API that does this:
where can I find this API?