Skip to content

Commit

Permalink
Fix syntax in FprintFunc example code
Browse files Browse the repository at this point in the history
  • Loading branch information
hackebrot committed Jan 13, 2017
1 parent e8e01ee commit e6b60f9
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 @@ -87,7 +87,7 @@ blue(myWriter, "important notice: %s", stars)

// Mix up with multiple attributes
success := color.New(color.Bold, color.FgGreen).FprintlnFunc()
success(myWriter, don't forget this...")
success(myWriter, "Don't forget this...")
```

### Insert into noncolor strings (SprintFunc)
Expand Down

0 comments on commit e6b60f9

Please sign in to comment.