Documentation
¶
Index ¶
- type Values
- func (v Values) Append(add map[string]string)
- func (v Values) Cascade(name, field, current string) string
- func (v Values) Duplicate() Values
- func (v Values) FromBytes(data []byte) error
- func (v Values) FromFile(fileName string) error
- func (v Values) FromTemplate(fileName string, tpl func(string, Values) ([]byte, error)) error
- func (v Values) ToSlice() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Values ¶
Values represents string mappings for go variables
func (Values) FromTemplate ¶
FromTemplate reads more key:value mappings from a templated file
Click to show internal directories.
Click to hide internal directories.