Skip to content

Commit

Permalink
Merge pull request #145 from DrKhyz/fix/typo-readme
Browse files Browse the repository at this point in the history
typo/ add 'color' in front FgBlue to be declared
  • Loading branch information
fatih committed Sep 8, 2021
2 parents 063d636 + 65d7546 commit 503f536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
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 503f536

Please sign in to comment.