Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser loads configuration.
func NewParserFromFile ¶
NewParserFromFile creates a new Parser by reading the given file.
func (*Parser) UnmarshalExact ¶
UnmarshalExact unmarshals the config into a struct, erroring if a field is nonexistent.
Click to show internal directories.
Click to hide internal directories.