alle opties
bullseye-backports  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Bron: golang-github-invopop-yaml  ]

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

Verwijzigingen voor golang-github-invopop-yaml-dev

Screenshot

Debian bronnen:

Het bronpakket golang-github-invopop-yaml downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

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 aan golang-github-invopop-yaml-dev gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

golang-github-invopop-yaml-dev downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 14,1 kB53,0 kB [overzicht]