mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
langs: Fix golint godoc issue
This commit is contained in:
parent
10dc87bf86
commit
f8d8c85428
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue