Registry / serialization / kylelemons-go-gypsy

kylelemons-go-gypsy

JSON →
library1.0.0gogounverified

Go-gypsy is a YAML parser and emitter library for Go.

go get github.com/kylelemons/go-gypsy
INSTALL
IMPORT
SIG · KYLELEMONS-GO-GYPS
K
kylelemons-go-gypsy
serializationgov1.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.

yaml
github.com/kylelemons/go-gypsy/yaml

Read a YAML configuration file and extract a value.

package main import ( "fmt" "github.com/kylelemons/go-gypsy/yaml" ) func main() { config, err := yaml.ReadFile("config.yaml") if err != nil { panic(err) } name, _ := config.Get("name") fmt.Printf("Name: %s\n", name) }
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
8 hits · last 30 days
node
8
Resources
kylelemons-go-gypsy — go get kylelemons-go-gypsy · libregistry