Install golang-github-daviddengcn-go-colortext-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-daviddengcn-go-colortext-dev
Description:
change the color of console text in Go
This package can be used to change the color of the text and background in the console in Go, working both under Windows and other systems. . Under Windows, the console APIs are used. Otherwise, ANSI texts are output.
Homepage: https://github.com/daviddengcn/go-colortext
Version: 0.0~git20150719.0.3b18c85-1
Section: universe/devel