Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

zhevron/ansi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansi - ANSI escape sequence library

wercker status Coverage Status GoDoc

ansi is an ANSI escape sequence library for Google Go.

Colored strings

If the output supported ANSI escape codes, you can print colored strings using the utility functions in this library.

fmt.Println(ansi.Red("This string will be red", None))

You can also apply modifiers to the output strings to make the text bold, italic or underlined.

fmt.Println(ansi.Red("This string will be bold red", Bold))
fmt.Println(ansi.Red("This string will be bold and underlined red", Bold|Underline))

License

ansi is licensed under the MIT license.

About

ANSI escape sequence library for Google Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages