mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02: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))
|
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 {
|
func (l *Language) GetStringSlice(key string) []string {
|
||||||
return cast.ToStringSlice(l.Get(key))
|
return cast.ToStringSlice(l.Get(key))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user