Browse Source

Merge pull request #1 from KosToZyB/patch-1

fix comment
master
arnau 6 years ago
committed by GitHub
parent
commit
674e789a40
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      color.go

+ 2
- 2
color.go

@ -7,7 +7,7 @@ type Color struct{}
var c Color
func (c Color) DarkGray(t string) {
fmt.Print("\x1b[30;1m") //red
fmt.Print("\x1b[30;1m") //darkGray
fmt.Println(t)
fmt.Print("\x1b[0m") //defaultColor
}
@ -25,7 +25,7 @@ func (c Color) Green(t string) {
}
func (c Color) Yellow(t string) {
fmt.Print("\x1b[33;1m") //green
fmt.Print("\x1b[33;1m") //yellow
fmt.Println(t)
fmt.Print("\x1b[0m") //defaultColor
}

Loading…
Cancel
Save