Registry / config / knadh-koanf

knadh-koanf

JSON →
library1.5.0gogounverified

Package koanf is a lightweight, extensible configuration management library for Go applications.

go get github.com/knadh/koanf
INSTALL
IMPORT
SIG · KNADH-KOANF
K
knadh-koanf
configgov1.5.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.

koanf
github.com/knadh/koanf

Load configuration from a JSON file using koanf.

package main import ( "github.com/knadh/koanf" "github.com/knadh/koanf/parsers/json" "github.com/knadh/koanf/providers/file" ) func main() { k := koanf.New(".") k.Load(file.Provider("config.json"), json.Parser()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
Resources
knadh-koanf — go get knadh-koanf · libregistry