aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7a5085f..0dddec8 100644
--- a/README.md
+++ b/README.md
@@ -34,8 +34,8 @@ color.Magenta("And many others ..")
c := color.New(color.FgCyan).Add(color.Underline)
c.Println("Prints cyan text with an underline.")
-// Another one
-d := color.New(color.FgCyan).Add(color.Bold)
+// Or just add them to New()
+d := color.New(color.FgCyan, color.Bold)
d.Printf("This prints bold cyan %s\n", "too!.")