commit 894ac002b3ea990dd01dfe6f48fadbfa861c6210
parent cb0f6f7b5749f469a824e77619c12f337bca6226
Author: Thomas Frössman <thomasf@jossystem.se>
Date: Wed, 20 Nov 2019 10:49:34 +0100
colorlab: typo
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/colorlab/pkg/colorlab/namedcolors.go b/colorlab/pkg/colorlab/namedcolors.go
@@ -10,7 +10,7 @@ import (
type NamedColors map[string]HexColor
-// WithPrefix returns a copuy of named colors where all keys are prefixed.
+// WithPrefix returns a copy of named colors where all keys are prefixed.
func (n NamedColors) WithPrefix(prefix string) NamedColors {
nc := make(NamedColors, len(n))
for k, v := range n {
@@ -19,7 +19,7 @@ func (n NamedColors) WithPrefix(prefix string) NamedColors {
return nc
}
-// WithSuffix returns a copuy of named colors where all keys are suffixed.
+// WithSuffix returns a copy of named colors where all keys are suffixed.
func (n NamedColors) WithSuffix(suffix string) NamedColors {
nc := make(NamedColors, len(n))
for k, v := range n {