Alle Optionen
bullseye-backports  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: golang-github-invopop-yaml  ]

Paket: golang-github-invopop-yaml-dev (0.2.0-2)

Links für golang-github-invopop-yaml-dev

Screenshot

Debian-Ressourcen:

Quellcode-Paket golang-github-invopop-yaml herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

better way to marshal and unmarshal YAML in Golang

This package is a wrapper around go-yaml (gopkg.in/yaml.v3) designed to enable a better way of handling YAML when marshaling to and from structs.

This is a fork and split of the original github.com/ghodss/yaml repository which no longer appears to be maintained.

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-invopop-yaml-dev

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

golang-github-invopop-yaml-dev herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 14,1 kB53,0 kB [Liste der Dateien]