Skip to content

Commit

Permalink
Merge pull request #13 from NoorBnHossam/noor
Browse files Browse the repository at this point in the history
edit color
  • Loading branch information
NoorBnHossam authored Jul 28, 2024
2 parents 9e5db12 + ba5dd9e commit 8bc0fbb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions colors.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package logify


type Color int8
type Color int8

const (
Red Color = iota
Blue
Red Color = iota
Blue
Green
Yellow
Purple
Expand All @@ -16,14 +15,15 @@ const (
)

// Colors is a map that associates each Color with its corresponding ANSI escape code.

var Colors = map[Color]string{
Red: "\033[0;31m",
Red: "\033[0;31m",
Blue: "\033[0;34m",
Green: "\033[0;32m",
Yellow: "\033[0;33m",
Purple: "\033[0;35m",
Cyan: "\033[0;36m",
Gray: "\033[0;37m",
Orange: "\033[0;91m",
Reset: "\033[0m",
Reset: "\033[0m",
}

0 comments on commit 8bc0fbb

Please sign in to comment.