Skip to content

Commit

Permalink
typo/ add 'color' in front FgBlue to be declared
Browse files Browse the repository at this point in the history
  • Loading branch information
DrKhyz committed Sep 8, 2021
1 parent 063d636 commit 65d7546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ notice("Don't forget this...")
### Custom fprint functions (FprintFunc)

```go
blue := color.New(FgBlue).FprintfFunc()
blue := color.New(color.FgBlue).FprintfFunc()
blue(myWriter, "important notice: %s", stars)

// Mix up with multiple attributes
Expand Down

0 comments on commit 65d7546

Please sign in to comment.