An ANSI colour terminal package for Go

updated to point to tangled

Changed files
+11 -10
+7 -9
README.md
···
# colourize
-
[![GoDoc](https://godoc.org/github.com/TreyBastian/colourize?status.svg)](https://godoc.org/github.com/TreyBastian/colourize) [![Build Status](https://travis-ci.org/TreyBastian/colourize.svg?branch=master)](https://travis-ci.org/TreyBastian/colourize) [![Coverage Status](https://coveralls.io/repos/TreyBastian/colourize/badge.svg?branch=master)](https://coveralls.io/r/TreyBastian/colourize?branch=master) [![Go Report
-
Card](https://goreportcard.com/badge/github.com/TreyBastian/colourize)](https://goreportcard.com/report/github.com/TreyBastian/colourize)
+
[![GoDoc](https://godoc.org/tangled.org/treybastian.com/colourize?status.svg)](https://godoc.org/github.com/TreyBastian/colourize) [![Build Status](https://travis-ci.org/TreyBastian/colourize.svg?branch=master)](https://travis-ci.org/TreyBastian/colourize) [![Coverage Status](https://coveralls.io/repos/TreyBastian/colourize/badge.svg?branch=master)](https://coveralls.io/r/TreyBastian/colourize?branch=master) [![Go Report
+
Card](https://goreportcard.com/badge/tangled.org/treybastian.com/colourize)](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.
+
This project is feature complete for what I created it for 10 years ago.
+
+
Feel free to submit patches to patches@treybastian.com
# Installation
-
go get github.com/TreyBastian/colourize
+
go get tangled.org/trebastian.com/colourize
# Usage
package main
import (
-
c "github.com/TreyBastian/colourize"
+
c "tangled.org/trebastian.com/colourize"
"fmt"
)
···
fmt.Println(c.Colourize("Hello World!", c.Green, c.Whitebg, c.Bold))
}
-
-
# Projects Using colourize
-
* [nettee](https://github.com/Manaphy91/nettee)
+1 -1
colourize.go
···
package main
import(
-
c "github.com/TreyBastian/colourize"
+
c "tangled.org/treybastian.com/colourize"
"fmt"
)
+3
go.mod
···
+
module tangled.org/treybastian.com/colourize
+
+
go 1.25.4