package
2.0.0-alpha.3
Repository: https://github.com/k0sproject/rig.git
Documentation: pkg.go.dev

# Functions

NewDecoder returns a new decoder that reads from r.
Split is a convenience function that calls SplitRune with '=' as the separator.
SplitRune splits a string into a key and a value using the given separator.

# Variables

ErrInvalidObject is returned when the object is invalid to be a kv decoding target.
ErrInvalidTags is returned when the struct tags are invalid for kv.
ErrStrict is returned when the decoder is in strict mode and an unknown key is encountered.
ErrSyntax is returned when the input string has a syntactical error.

# Structs

Decoder is a decoder for key-value pairs, similar to the encoding/json package.