Registry / config / knadh-koanf-providers-file

knadh-koanf-providers-file

JSON →
library1.2.1gogounverified

Package file provides a file-based configuration provider for the koanf configuration library.

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

file
github.com/knadh/koanf/providers/file

Load configuration from a JSON file using koanf file provider.

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

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
OpenAI (training)
1
Resources
knadh-koanf-providers-file — go get knadh-koanf-providers-file · libregistry