Start laying out the structure of gooni
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
package colors
|
||||
|
||||
import (
|
||||
color "github.com/aybabtme/rgbterm"
|
||||
)
|
||||
|
||||
// Gray string.
|
||||
func Gray(s string) string {
|
||||
return color.FgString(s, 150, 150, 150)
|
||||
}
|
||||
|
||||
// Blue string.
|
||||
func Blue(s string) string {
|
||||
return color.FgString(s, 77, 173, 247)
|
||||
}
|
||||
|
||||
// Cyan string.
|
||||
func Cyan(s string) string {
|
||||
return color.FgString(s, 34, 184, 207)
|
||||
}
|
||||
|
||||
// Green string.
|
||||
func Green(s string) string {
|
||||
return color.FgString(s, 0, 200, 255)
|
||||
}
|
||||
|
||||
// Red string.
|
||||
func Red(s string) string {
|
||||
return color.FgString(s, 194, 37, 92)
|
||||
}
|
||||
|
||||
// Yellow string.
|
||||
func Yellow(s string) string {
|
||||
return color.FgString(s, 252, 196, 25)
|
||||
}
|
||||
|
||||
// Purple string.
|
||||
func Purple(s string) string {
|
||||
return color.FgString(s, 96, 97, 190)
|
||||
}
|
||||
Reference in New Issue
Block a user