Registry / config / knadh-koanf-providers-confmap

knadh-koanf-providers-confmap

JSON →
library1.0.0gogounverified

A configuration provider for koanf that loads from a map.

go get github.com/knadh/koanf/providers/confmap
INSTALL
IMPORT
SIG · KNADH-KOANF-PROVID
K
knadh-koanf-providers-confmap
configgov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

confmap
github.com/knadh/koanf/providers/confmap

Load configuration from a map using the confmap provider.

package main import ( "github.com/knadh/koanf" "github.com/knadh/koanf/providers/confmap" ) func main() { k := koanf.New(".") k.Load(confmap.Provider(map[string]interface{}{ "key": "value", }), nil) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
Resources
knadh-koanf-providers-confmap — go get knadh-koanf-providers-confmap · libregistry