aboutsummaryrefslogtreecommitdiff
path: root/internal/ansiec/colors.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-05 23:33:50 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-05 23:33:50 +0800
commit82b79bfd1d2aade10ef811fc708fa11193c9a3a5 (patch)
treef9d77b19556f0e033fa68387b1b94b50645f1d21 /internal/ansiec/colors.go
parentdatabase: Separate opening the database into its own package (diff)
downloadforge-82b79bfd1d2aade10ef811fc708fa11193c9a3a5.tar.gz
forge-82b79bfd1d2aade10ef811fc708fa11193c9a3a5.tar.zst
forge-82b79bfd1d2aade10ef811fc708fa11193c9a3a5.zip
ansiec: Use const, not var
Diffstat (limited to 'internal/ansiec/colors.go')
-rw-r--r--internal/ansiec/colors.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ansiec/colors.go b/internal/ansiec/colors.go
index 2068e90..8e5f54b 100644
--- a/internal/ansiec/colors.go
+++ b/internal/ansiec/colors.go
@@ -3,7 +3,7 @@
package ansiec
-var (
+const (
Black = "\x1b[30m"
Red = "\x1b[31m"
Green = "\x1b[32m"
@@ -14,7 +14,7 @@ var (
White = "\x1b[37m"
)
-var (
+const (
BrightBlack = "\x1b[30;1m"
BrightRed = "\x1b[31;1m"
BrightGreen = "\x1b[32;1m"