Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> devel >> golang-github-ghodss-yaml-dev
etiona  ] [  nabia  ] [  aramo  ]
[ Quellcode: golang-github-ghodss-yaml  ]

Paket: golang-github-ghodss-yaml-dev (1.0.0-1)

better way to marshal and unmarshal YAML in Golang

This package is a wrapper around go-yaml designed to enable a better way of handling YAML when marshaling to and from structs.

In short, this library 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.

Andere Pakete mit Bezug zu golang-github-ghodss-yaml-dev

  • hängt ab von
  • empfiehlt
  • schlägt vor

golang-github-ghodss-yaml-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 12,7 kB47 kB [Liste der Dateien]