Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> devel >> golang-github-ghodss-yaml-dev
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-ghodss-yaml  ]

套件: 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.

其他與 golang-github-ghodss-yaml-dev 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 golang-github-ghodss-yaml-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 12.7 kB47 kB [文件列表]