mirror of
https://github.com/arnaucube/flock-botnet.git
synced 2026-02-06 19:16:39 +01:00
Update color.go
This commit is contained in:
committed by
GitHub
parent
72b4b0737a
commit
97a77a4401
4
color.go
4
color.go
@@ -7,7 +7,7 @@ type Color struct{}
|
|||||||
var c Color
|
var c Color
|
||||||
|
|
||||||
func (c Color) DarkGray(t string) {
|
func (c Color) DarkGray(t string) {
|
||||||
fmt.Print("\x1b[30;1m") //red
|
fmt.Print("\x1b[30;1m") //darkGray
|
||||||
fmt.Println(t)
|
fmt.Println(t)
|
||||||
fmt.Print("\x1b[0m") //defaultColor
|
fmt.Print("\x1b[0m") //defaultColor
|
||||||
}
|
}
|
||||||
@@ -25,7 +25,7 @@ func (c Color) Green(t string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c Color) Yellow(t string) {
|
func (c Color) Yellow(t string) {
|
||||||
fmt.Print("\x1b[33;1m") //green
|
fmt.Print("\x1b[33;1m") //yellow
|
||||||
fmt.Println(t)
|
fmt.Println(t)
|
||||||
fmt.Print("\x1b[0m") //defaultColor
|
fmt.Print("\x1b[0m") //defaultColor
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user