flagsloader

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultKeyNormalizer

func DefaultKeyNormalizer(s string) string

Types

type Loader

type Loader struct {
	Normalizer     func(string) string
	DescriptionKey string
	// contains filtered or unexported fields
}

func NewLoader

func NewLoader(m *cfgmetadata.MetaData) *Loader

func (*Loader) Load

func (fl *Loader) Load() error

func (*Loader) WithDescriptionKey

func (fl *Loader) WithDescriptionKey(key string) *Loader

func (*Loader) WithFlagsSet

func (fl *Loader) WithFlagsSet(s *flag.FlagSet) *Loader

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL