Documentation ¶
Index ¶
- Constants
- func DefaultKeyNormalizer(s string) string
- type Loader
- func (cl *Loader) GetPossibleKeys() []string
- func (cl *Loader) Load() error
- func (cl *Loader) PrintFields(w io.WriteCloser, t string) error
- func (cl *Loader) WithDescriptionKey(key string) *Loader
- func (cl *Loader) WithEnv(e []string) *Loader
- func (cl *Loader) WithNormalizer(f func(string) string) *Loader
- func (cl *Loader) WithPrefix(p string) *Loader
Constants ¶
View Source
const EnvFileTemplate = `` /* 250-byte string literal not displayed */
View Source
const FieldsTableTemplate = `` /* 262-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func DefaultKeyNormalizer ¶
Types ¶
type Loader ¶
type Loader struct { Env []string Normalizer func(string) string Prefix string DescriptionKey string // contains filtered or unexported fields }
func NewLoader ¶
func NewLoader(m *cfgmetadata.MetaData) *Loader
func (*Loader) GetPossibleKeys ¶
func (*Loader) PrintFields ¶
func (cl *Loader) PrintFields(w io.WriteCloser, t string) error
func (*Loader) WithDescriptionKey ¶
func (*Loader) WithPrefix ¶
Click to show internal directories.
Click to hide internal directories.