Registry / serialization / sanathkr-go-yaml

sanathkr-go-yaml

JSON →
library0.0.0-20170819195128-ed9d249f429bgogounverified

Package yaml implements YAML support for the Go language, providing encoding and decoding.

go get github.com/sanathkr/go-yaml
INSTALL
IMPORT
SIG · SANATHKR-GO-YAML
S
sanathkr-go-yaml
serializationgov0.0.0-20170819195128-ed9d249f429b
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/sanathkr/go-yaml

Marshal a map to YAML format.

package main import ( "fmt" "github.com/sanathkr/go-yaml" ) func main() { data := map[string]interface{}{"name": "test"} out, err := yaml.Marshal(data) if err != nil { panic(err) } fmt.Println(string(out)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20170819195128-ed9d249f429blatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
sanathkr-go-yaml — go get sanathkr-go-yaml · libregistry