package
0.8.3
Repository: https://github.com/lalamove/konfig.git
Documentation: pkg.go.dev

# README

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(".", "-")
})

# Functions

New creates a new Loader with the given Config cfg.

# Structs

Config is the config for the Flag Loader.
Loader is a loader for command line flags.