Documentation ¶
Overview ¶
Package kpkeyval provides a key value parser to parse an io.Reader's content of key/values with a configurable separator and add it into a konfig.Store.
Index ¶
Constants ¶
View Source
const DefaultSep = "="
DefaultSep is the default key value separator
Variables ¶
View Source
var (
ErrInvalidConfigFileFormat = errors.New("Err invalid file format")
)
ErrInvalidConfigFileFormat is the error returned when a problem is encountered when parsing the config file
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Sep is the separator between keys and values Sep string }
Config is the configuration of the key value parser
Click to show internal directories.
Click to hide internal directories.