Package Usage: go: github.com/invopop/yaml
Package yaml provides a wrapper around go-yaml designed to enable a better
way of handling YAML when marshaling to and from structs.
In short, this package first converts YAML to JSON using go-yaml and then
uses json.Marshal and json.Unmarshal to convert to or from the struct. This
means that it effectively reuses the JSON struct tags as well as the custom
JSON methods MarshalJSON and UnmarshalJSON unlike go-yaml.
6 versions
Latest release: over 1 year ago
406 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/invopop/yaml