Awesome
wordcolor.go
Color your words! Similar words have Similar color.
Requirements
Go 1.2 or above.
Install & Usage
$ go get github.com/lichunqiang/wordcolor.go
import "github.com/lichunqiang/wordcolor.go"
func main () {
println(wordcolor.WordColor("Hello world")) //rgb(255, 56, 13)
}
Related
- word-color - javascript version, which is the original fork
- wordcolor.php - PHP version
License
MIT