An open API service indexing awesome lists of open source software.

https://github.com/giancarlosisasi/gorainbow

Format your text to print a rainbow color text in the console
https://github.com/giancarlosisasi/gorainbow

colors go golang rainbow

Last synced: 2 months ago
JSON representation

Format your text to print a rainbow color text in the console

Awesome Lists containing this project

README

          

[![Go Reference](https://pkg.go.dev/badge/github.com/giancarlosio/gorainbow.svg)](https://pkg.go.dev/github.com/giancarlosio/gorainbow)

`gorainbow` lets you use a rainbow version of a string ready to print it to the terminal.

![plot](./images/result.png)

## Install
```bash
go get github.com/giancarlosio/gorainbow
```

## Example
```go
import "gorainbow"

str := Rainbow("Hello world")

fmt.Println(str)
```