Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 289 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 289 Bytes

Flag Loader

Loads config values from command line flags

Usage

Basic usage with command line FlagSet

flagLoader := klflag.New(&klflag.Config{})

With a nstrings.Replacer for keys

flagLoader := klflag.New(&klflag.Config{
	Replacer: strings.NewReplacer(".", "-")
})