mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 18:18:37 +00:00
langs: Fix golint godoc issue
This commit is contained in:
1 parent
10dc87bf86
commit
f8d8c85428
1 file changed
+1
-1
+1
-1
@@ -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