Reading multiple YAML fields into a single variable using Golang gopkg.in/yaml.v2?

后端 未结 0 816
青春惊慌失措
青春惊慌失措 2020-11-28 06:59

Suppose we have a yaml file that looks a bit like either this:

foo:
  duck
  chicken

or this:

bar:
   duck
   chicken
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题