gorainbow

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2021 License: MIT Imports: 3 Imported by: 0

README

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

plot

Install

go get github.com/giancarlosio/gorainbow

Example

  import "gorainbow"

  str := Rainbow("Hello world")

  fmt.Println(str)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rainbow

func Rainbow(text string) string

Rainbow function returns a formated colorized string ready to print it to the shell/terminal

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL