diff options
| author | Paul Buetow <paul@buetow.org> | 2025-02-05 01:02:17 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-02-05 01:02:17 +0200 |
| commit | 24778551d8e5b0b47a06494dd28a66a71dfb47f0 (patch) | |
| tree | 6000d14601d57f2f34840793f1798c8baefc59ca /internal/colour | |
| parent | 07d9f1840494924dd6ca713493dd3d630e9ad721 (diff) | |
use of generic ascii table package
Diffstat (limited to 'internal/colour')
| -rw-r--r-- | internal/colour/colour.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/colour/colour.go b/internal/colour/colour.go index 0b11163..030a6ef 100644 --- a/internal/colour/colour.go +++ b/internal/colour/colour.go @@ -13,12 +13,12 @@ var ( } Infoln = func(args ...any) { fmt.Println(args...) } - info2Col = color.New(color.FgHiYellow, color.BgBlue) + Info2Col = color.New(color.FgHiYellow, color.BgBlue) Info2fln = func(format string, args ...any) { - info2Col.Printf(format, args...) + Info2Col.Printf(format, args...) fmt.Print("\n") } - SInfo2f = info2Col.SprintfFunc() + SInfo2f = Info2Col.SprintfFunc() warnCol = color.New(color.FgHiWhite, color.BgRed) Warnln = warnCol.PrintlnFunc() |
