diff options
| author | Paul Buetow <paul@buetow.org> | 2024-12-01 21:09:20 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-12-01 21:09:20 +0200 |
| commit | fbb5b4a8fdf31072abc3ec8727a4061b76fa8a4c (patch) | |
| tree | faccd0f5c96443aed8d55a09514543ea12b534af /internal | |
| parent | 705abd16cdb4bdaf23f356ae9aa45d324d648442 (diff) | |
change colour
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/colour/colour.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/internal/colour/colour.go b/internal/colour/colour.go index 71cb16a..09b9fb0 100644 --- a/internal/colour/colour.go +++ b/internal/colour/colour.go @@ -1,11 +1,15 @@ package colour -import "github.com/fatih/color" +import ( + "fmt" + + "github.com/fatih/color" +) var ( - infoCol = color.New(color.FgCyan, color.BgBlue, color.Bold) - Infof = infoCol.PrintfFunc() - Infoln = infoCol.PrintlnFunc() + // infoCol = color.New(color.FgCyan, color.BgBlue, color.Bold) + Infof = fmt.Printf + Infoln = fmt.Println info2Col = color.New(color.FgHiYellow, color.BgBlue) Info2f = info2Col.PrintfFunc() SInfo2f = info2Col.SprintfFunc() |
