Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
A map of configuration Variable entries.
func NewConfig ¶
Create a new Config with the given Variable objects.
func Parse ¶
Parse the given variable strings into a Config object.
func (Config) DeleteVariable ¶
Delete the Variable that matches the given Variable.
func (Config) MapInterfaces ¶
Map the Config to a map of interface{} types.
func (Config) SetVariable ¶
Set a Variable on the current Config.
Directories ¶
Path | Synopsis |
---|---|
Package encoding provides interfaces for configuration encoders and decoders.
|
Package encoding provides interfaces for configuration encoders and decoders. |
json
Package json implements an encoder and decoder for a JSON representation of config.Variable.
|
Package json implements an encoder and decoder for a JSON representation of config.Variable. |
text
Package text implements an encoder and decoder for a text based representation of config.Variable.
|
Package text implements an encoder and decoder for a text based representation of config.Variable. |
TODO: > Write unit tests > Document symbols
|
TODO: > Write unit tests > Document symbols |
Click to show internal directories.
Click to hide internal directories.