Package Usage: go: github.com/alecthomas/colour
      
        Package colour ([docs]1) provides [Quake-style colour formatting]2 for Unix terminals.
It is a drop-in replacement for the fmt package.
The package level functions can be used to write to stdout (or strings or
other files). If stdout is not a terminal, colour formatting will be
stripped.
eg.
For more control a Printer object can be created with various helper
functions. This can be used to do useful things such as strip formatting,
write to strings, and so on.
The following sequences are converted to their equivalent ANSI colours:
          
1 version
          
Latest release: about 6 years ago
          
512 dependent packages
      
    
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/alecthomas/colour