package
0.4.1
Repository: https://github.com/fullstorydev/relay-core.git
Documentation: pkg.go.dev

# Functions

LookupOptional returns the value associated with the provided key, if it's present with type T.
LookupRequired returns the value associated with the provided key, if it's present with type T.
NewFile returns a new, empty File.
NewFileFromYamlString returns a File generated from YAML.
NewSection returns a new, empty Section.
ParseOptional invokes a callback with the value of the provided key, if it's present and has type T, and propagates any error the callback returns.
ParseRequired invokes a callback with the value of the provided key, if it's present and has type T, and propagates any error the callback returns.

# Structs

File exposes an in-memory representation of a configuration file.
Section is a named collection of values usually found within a File.