Skip to content

Commit 65d7546

Browse files
committed
typo/ add 'color' in front FgBlue to be declared
1 parent 063d636 commit 65d7546

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)