Skip to content

shivakumargn/go-colortext

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-colortext package

This is a package to change the color of the text and background in the console, working both in windows and other systems.

Under windows, the console APIs are used, and otherwise ANSI text is used.

Docs: http://godoc.org/github.com/daviddengcn/go-colortext (packages that import ct)

Usage:

ChangeColor(Red, true, White, false)
ChangeColor(Green, false, None, false)
ResetColor()

About

Change the color of console text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%