This is also http://code.google.com/p/goncurses but it would likely be
extreme overkill for what you want and is not available for Windows.
On Monday, 5 August 2013 18:28:02 UTC-7, Antoine Grondin wrote:

This package colorize your strings:


You may wonder why I made a package when there are many like it?

I've found those two:

- https://github.com/wsxiaoys/terminal
- Requires to use a special syntax and compile your strings.
- https://github.com/mgutz/ansi
- String based arguments.

They have more features than my little package. However my humble,
arguable opinion is that my API is simpler.

yel := color.Yellow()fmt.Printf("This is %s\n", yel.Get("yellow"))

So that's why. Hope others will like it!

(colorizator is not a word)
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 7 | next ›
Discussion Overview
groupgolang-nuts @
postedAug 6, '13 at 1:28a
activeAug 9, '13 at 4:38a



site design / logo © 2022 Grokbase