Initial commit
This commit is contained in:
30
colors/colors.go
Normal file
30
colors/colors.go
Normal file
@@ -0,0 +1,30 @@
|
||||
package colors
|
||||
|
||||
import (
|
||||
"github.com/jwalton/gchalk"
|
||||
)
|
||||
|
||||
// Green returns a green string
|
||||
func Green(s string) string {
|
||||
return gchalk.Green(s)
|
||||
}
|
||||
|
||||
// Yellow returns a green string
|
||||
func Yellow(s string) string {
|
||||
return gchalk.Yellow(s)
|
||||
}
|
||||
|
||||
// Red returns a green string
|
||||
func Red(s string) string {
|
||||
return gchalk.Red(s)
|
||||
}
|
||||
|
||||
// Blue returns a blue string
|
||||
func Blue(s string) string {
|
||||
return gchalk.Blue(s)
|
||||
}
|
||||
|
||||
// White returns a white string
|
||||
func White(s string) string {
|
||||
return gchalk.White(s)
|
||||
}
|
||||
Reference in New Issue
Block a user