Documentation ¶
Overview ¶
Package yaml contains some custom yaml unmarshallers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringOrSlice ¶
type StringOrSlice []string
StringOrSlice is a []string type alias that has a custom UnmarshalYAML implementation.
func (*StringOrSlice) UnmarshalYAML ¶
func (s *StringOrSlice) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML will return a string slice for a single string or a slice of strings.
Click to show internal directories.
Click to hide internal directories.