aboutsummaryrefslogtreecommitdiffhomepage
path: root/langs
diff options
context:
space:
mode:
authorCameron Moore <[email protected]>2018-09-06 15:28:13 -0500
committerBjørn Erik Pedersen <[email protected]>2018-09-07 08:25:51 +0200
commitf8d8c85428f527139c20369910230741dcaf2969 (patch)
tree24b891325f5e3c5fa7d06198b694dff3f7083102 /langs
parent10dc87bf866f7a4f99c248436c38edf0ecdd157f (diff)
downloadhugo-f8d8c85428f527139c20369910230741dcaf2969.tar.gz
hugo-f8d8c85428f527139c20369910230741dcaf2969.zip
langs: Fix golint godoc issue
Diffstat (limited to 'langs')
-rw-r--r--langs/language.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/langs/language.go b/langs/language.go
index 7d77df4e3..d741b9978 100644
--- a/langs/language.go
+++ b/langs/language.go
@@ -162,7 +162,7 @@ func (l *Language) GetStringMapString(key string) map[string]string {
return cast.ToStringMapString(l.Get(key))
}
-// returns the value associated with the key as a slice of strings.
+// GetStringSlice returns the value associated with the key as a slice of strings.
func (l *Language) GetStringSlice(key string) []string {
return cast.ToStringSlice(l.Get(key))
}