• Stars
    star
    214
  • Rank 184,678 (Top 4 %)
  • Language
    Go
  • License
    Other
  • Created almost 12 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Change the color of console text.

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

More Repositories

1

gcse

Project for Go Search, a search engine for finding popular and relevant packages.
Go
277
star
2

gosl

Go Script Language
Go
161
star
3

go-diff

A diff tool especially for Go language.
Go
71
star
4

go-pr

Pattern recognition package in Go lang.
Go
62
star
5

go-villa

Some helper types for go1: priority queue, slice wrapper.
Go
52
star
6

patch-ext

Git Patch Rendering Chrome Extension
JavaScript
34
star
7

go-index

Text indexing related functions in Go, including tokenizer, word marking, and snippet selecting, etc.
Go
27
star
8

go-algs

Some algorithms in go: maxflow(min-cuts or graph-cuts), edit-distance.
Go
16
star
9

go-rpc

Go RPC framework
Go
9
star
10

ljson

Loose JSON, a superset of JSON with a loose format requirement.
Go
8
star
11

go-vision

Computer vision related functions in Go.
Go
6
star
12

go-ljson-conf

A powerful configuration package for go using Loose JSON as the format
Go
5
star
13

geps

JavaScript
4
star
14

go-prolog

Go programming as a Prolog style
Go
4
star
15

menu

A tool for showing menu under linux command line.
Go
3
star
16

lockfreepool

A Java Lock Free Pool
Java
3
star
17

sgrep

Structural grep
Go
3
star
18

go-html-frame

HTML framework for Go web.
Go
3
star
19

sea

A branch from http://seashore.sourceforge.net/
Objective-C
2
star
20

insert-css-rules-ext

Chrome extension to insert css rules automatically.
JavaScript
2
star
21

go-assert

Testing utils for Go.
Go
2
star
22

sophie

A sequencial data processing library.
Go
2
star
23

go-shell

A shell environment interpreting and running Go code.
Go
2
star
24

go-code-crawl

Crawler for go-code engine.
Go
2
star
25

gdr

go-debug-run tool
Go
1
star
26

ynote-import

Youdao note importer
Go
1
star
27

japanese-learning

Some useful stuffs related to Japanese learning.
1
star
28

bolthelper

Helper classes for bolt.
Go
1
star
29

cpp-freevision

The free-vision project aims at creating a library for computer vision related functions, including camera capture interface, stereo, image processing, camera calibration and so on.
C++
1
star