| 1 |
Source: golang-github-invopop-yaml |
| 2 |
Section: golang |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 5 |
Uploaders: Anthony Fok <[email protected]> |
| 6 |
Rules-Requires-Root: no |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
dh-sequence-golang, |
| 9 |
golang-any, |
| 10 |
golang-gopkg-yaml.v3-dev (>= 3.0.0) |
| 11 |
Testsuite: autopkgtest-pkg-go |
| 12 |
Standards-Version: 4.6.1 |
| 13 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-invopop-yaml |
| 14 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-invopop-yaml.git |
| 15 |
Homepage: https://github.com/invopop/yaml |
| 16 |
XS-Go-Import-Path: github.com/invopop/yaml |
| 17 |
|
| 18 |
Package: golang-github-invopop-yaml-dev |
| 19 |
Architecture: all |
| 20 |
Multi-Arch: foreign |
| 21 |
Depends: golang-gopkg-yaml.v3-dev (>= 3.0.0), |
| 22 |
${misc:Depends} |
| 23 |
Description: better way to marshal and unmarshal YAML in Golang |
| 24 |
This package is a wrapper around go-yaml (gopkg.in/yaml.v3) designed to |
| 25 |
enable a better way of handling YAML when marshaling to and from structs. |
| 26 |
. |
| 27 |
This is a fork and split of the original github.com/ghodss/yaml |
| 28 |
repository which no longer appears to be maintained. |
| 29 |
. |
| 30 |
In short, this library first converts YAML to JSON using go-yaml and then |
| 31 |
uses json.Marshal and json.Unmarshal to convert to or from the struct. |
| 32 |
This means that it effectively reuses the JSON struct tags as well as |
| 33 |
the custom JSON methods MarshalJSON and UnmarshalJSON unlike go-yaml. |