diff options
| author | Fatih Arslan <ftharsln@gmail.com> | 2015-04-22 09:45:13 +0000 |
|---|---|---|
| committer | Fatih Arslan <ftharsln@gmail.com> | 2015-04-22 09:45:13 +0000 |
| commit | 987617d12c58bfdcef4537354ddb5f1305c75765 (patch) | |
| tree | b2060c14ae3d525e2b0d7e6d68bf630c71b60a3d /doc.go | |
| parent | 0419888e7d72720691b745ef08e319a3df443a7d (diff) | |
| download | colour-987617d12c58bfdcef4537354ddb5f1305c75765.tar.gz colour-987617d12c58bfdcef4537354ddb5f1305c75765.tar.bz2 | |
doc: fix whitspace
Diffstat (limited to 'doc.go')
| -rw-r--r-- | doc.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -64,12 +64,11 @@ Windows support is enabled by default. All Print functions works as intended. However only for color.SprintXXX functions, user should use fmt.FprintXXX and set the output to color.Output: - fmt.Fprintf(color.Output, "Windows support: %s", color.GreenString("PASS")) + fmt.Fprintf(color.Output, "Windows support: %s", color.GreenString("PASS")) info := New(FgWhite, BgGreen).SprintFunc() fmt.Fprintf(color.Output, "this %s rocks!\n", info("package")) - Using with existing code is possible. Just use the Set() method to set the standard output to the given parameters. That way a rewrite of an existing code is not required. |
