Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/langs
diff options
context:
space:
mode:
authorCameron Moore <moorereason@gmail.com>2018-09-06 23:28:13 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-09-07 09:25:51 +0300
commitf8d8c85428f527139c20369910230741dcaf2969 (patch)
tree24b891325f5e3c5fa7d06198b694dff3f7083102 /langs
parent10dc87bf866f7a4f99c248436c38edf0ecdd157f (diff)
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))
}