Registry / config / gookit-config-v2

gookit-config-v2

JSON →
library2.2.5gogounverified

Package config provides a Go configuration management implementation supporting YAML, TOML, JSON, INI, and HCL formats.

go get github.com/gookit/config/v2
INSTALL
IMPORT
SIG · GOOKIT-CONFIG-V2
G
gookit-config-v2
configgov2.2.5
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.

config
github.com/gookit/config/v2

Load a YAML configuration file

package main import ( "github.com/gookit/config/v2" "github.com/gookit/config/v2/yaml" ) func main() { c := config.New("myconfig") c.AddDriver(yaml.Driver) err := c.LoadFiles("config.yaml") if err != nil { panic(err) } _ = c }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
30
OpenAI (training)
1
Resources
gookit-config-v2 — go get gookit-config-v2 · libregistry