package types
import "github.com/gohugoio/hugo/common/types"
Package types contains types shared between packages in Hugo.
Index ¶
Types ¶
type KeyValues ¶
type KeyValues struct { Key interface{} Values []interface{} }
KeyValues holds an key and a slice of values.
func NewKeyValuesStrings ¶
func (KeyValues) KeyString ¶
KeyString returns the key as a string, an empty string if conversion fails.
func (KeyValues) String ¶
Source Files ¶
- Version
- v0.27.1
- Published
- Sep 13, 2017
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 3 hours ago –
Tools for package owners.