mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
langs: Fix golint godoc issue
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
10dc87bf86
commit
f8d8c85428
@ -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))
|
||||
}
|
||||
|
Reference in New Issue
Block a user