https://github.com/TreyBastian/colourize
An ANSI colour terminal package for Go
https://github.com/TreyBastian/colourize
Last synced: about 1 year ago
JSON representation
An ANSI colour terminal package for Go
- Host: GitHub
- URL: https://github.com/TreyBastian/colourize
- Owner: TreyBastian
- License: mit
- Archived: true
- Created: 2015-05-11T11:49:39.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-07-18T09:10:59.000Z (almost 4 years ago)
- Last Synced: 2024-12-06T22:36:24.247Z (over 1 year ago)
- Language: Go
- Size: 8.79 KB
- Stars: 27
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go-cn - colourize
- fucking-awesome-go - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- awesome-go - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- awesome-go - colourize - An ANSI colour terminal package for Go - ★ 13 (Command Line)
- awesome-go-with-stars - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- awesome-go-plus - colourize - Go library for ANSI colour text in terminals.  (Command Line / Advanced Console UIs)
- awesome-go-cn - colourize
- awesome-go - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- awesome-Char - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- awesome-go - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- go-awesome-with-star-updatetime - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- awesome-go - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- fucking-awesome-go - :octocat: colourize - Go library for ANSI colour text in terminals. :star: 8 :fork_and_knife: 2 (Command Line / Advanced Console UIs)
- awesome-go - colourize - | - | - | (Command Line / Advanced Console UIs)
- awesome-go-cn - colourize
- awesome-go-extra - ARCHIVED - 05-11T11:49:39Z|2022-07-18T09:10:59Z| (Build Automation / Advanced Console UIs)
- awesome-go - colourize - Go library for ANSI colour text in terminals. - :arrow_down:2 - :star:8 (Command Line / Advanced Console UIs)
- awesome-go - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- awesome-go-processed - colourize - Go library for ANSI colour text in terminals.| (Command Line / Advanced Console UIs)
- awesome-go - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- awesome-go-cn - colourize
- awesome-go - colourize - GO语言实现的一个终端的ANSI颜色文本库。 (<span id="命令行-command-line">命令行 Command Line</span> / <span id="高级控制台用户界面-advanced-console-uis">高级控制台用户界面 Advanced Console UIs</span>)
- awesome-go - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
README
# colourize
[](https://godoc.org/github.com/TreyBastian/colourize) [](https://travis-ci.org/TreyBastian/colourize) [](https://coveralls.io/r/TreyBastian/colourize?branch=master) [](https://goreportcard.com/report/github.com/TreyBastian/colourize)
An ANSI colour terminal package for Go.
Supports all ANSI colours and emphasis. Not compatible with Windows systems.
# Project is no longer maintained.
This project is no longer maintained. However it's also complete. It has not and will not be updated with new Go features.
# Installation
go get github.com/TreyBastian/colourize
# Usage
package main
import (
c "github.com/TreyBastian/colourize"
"fmt"
)
func main() {
fmt.Println(c.Colourize("Hello World!", c.Green, c.Whitebg, c.Bold))
}
# Projects Using colourize
* [nettee](https://github.com/Manaphy91/nettee)