go-colortext

Change the color of console text.

  • Owner: daviddengcn/go-colortext
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

go-colortext package GoSearch

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

Under Windows, the console APIs are used. Otherwise, ANSI texts are output.

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

Usage:

ct.Foreground(Green, false)
fmt.Println("Green text starts here...")
ct.ChangeColor(Red, true, White, false)
fmt.Println(...)
ct.ResetColor()

LICENSE

BSD/MIT license

Main metrics

Overview
Name With Ownerdaviddengcn/go-colortext
Primary LanguageGo
Program languageGo (Language Count: 1)
Platform
License:Other
所有者活动
Created At2013-01-23 03:38:54
Pushed At2020-03-29 21:12:20
Last Commit At2020-03-29 14:11:09
Release Count3
Last Release Namev1.0.0 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count215
Watchers Count9
Fork Count22
Commits Count39
Has Issues Enabled
Issues Count8
Issue Open Count3
Pull Requests Count4
Pull Requests Open Count0
Pull Requests Close Count4
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private