From 5be39d08148fcf9267f34c4bf888f32189c8ba82 Mon Sep 17 00:00:00 2001 From: Trey Bastian Date: Tue, 25 Nov 2025 15:43:29 +0000 Subject: updated to point to tangled --- README.md | 16 +++++++--------- colourize.go | 2 +- go.mod | 3 +++ 3 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 go.mod diff --git a/README.md b/README.md index 7c0d947..e09ca68 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,23 @@ # 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" ) @@ -24,6 +25,3 @@ This project is no longer maintained. However it's also complete. It has not and fmt.Println(c.Colourize("Hello World!", c.Green, c.Whitebg, c.Bold)) } - -# Projects Using colourize -* [nettee](https://github.com/Manaphy91/nettee) diff --git a/colourize.go b/colourize.go index bec9969..9b716c4 100644 --- a/colourize.go +++ b/colourize.go @@ -46,7 +46,7 @@ const ( package main import( - c "github.com/TreyBastian/colourize" + c "tangled.org/treybastian.com/colourize" "fmt" ) diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..f1e9909 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module tangled.org/treybastian.com/colourize + +go 1.25.4 -- cgit v1.2.3