https://github.com/TreyBastian/colourize
An ANSI colour terminal package for Go
https://github.com/TreyBastian/colourize
Last synced: 29 days 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 (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-07-18T09:10:59.000Z (over 2 years ago)
- Last Synced: 2024-12-06T22:36:24.247Z (4 months 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 - colourize - Go library for ANSI colour text in terminals. (Command Line / Advanced Console UIs)
- 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 - 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-extra - ARCHIVED - 05-11T11:49:39Z|2022-07-18T09:10:59Z| (Build Automation / Advanced Console UIs)
- 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-plus - 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)