From 65d7546db8df142ad95e7799cf250ef2913c8806 Mon Sep 17 00:00:00 2001 From: Galvao Diniz Jonathan Date: Wed, 8 Sep 2021 12:25:05 +0200 Subject: [PATCH] typo/ add 'color' in front FgBlue to be declared --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c751f2..5152bf5 100644 --- a/README.md +++ b/README.md @@ -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