Skip to content

Commit 503f536

Browse files
authored
Merge pull request #145 from DrKhyz/fix/typo-readme
typo/ add 'color' in front FgBlue to be declared
2 parents 063d636 + 65d7546 commit 503f536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ notice("Don't forget this...")
7878
### Custom fprint functions (FprintFunc)
7979

8080
```go
81-
blue := color.New(FgBlue).FprintfFunc()
81+
blue := color.New(color.FgBlue).FprintfFunc()
8282
blue(myWriter, "important notice: %s", stars)
8383

8484
// Mix up with multiple attributes

0 commit comments

Comments
 (0)