Registry / config / kayac-go-config

kayac-go-config

JSON →
library0.7.0gogounverified

Package config provides a YAML configuration loader for Go applications.

go get github.com/kayac/go-config
INSTALL
IMPORT
SIG · KAYAC-GO-CONFIG
K
kayac-go-config
configgov0.7.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.

config
github.com/kayac/go-config

Loads a YAML configuration file and reads a string value.

package main import ( "log" "github.com/kayac/go-config" ) func main() { cfg := config.New() if err := cfg.Load("config.yaml"); err != nil { log.Fatal(err) } log.Println(cfg.String("key")) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
OpenAI (training)
1
Resources
kayac-go-config — go get kayac-go-config · libregistry