zet

Use YAML References and Anchors

One of the least appreciated used of YAML that set it far and away better than JSON for configuration sorts of things. I use this to make aliases in my Twitch bot commands.yaml file.

some_thing: &VAR_NAME foobar
other_thing: *VAR_NAME

And yes, this works with gopkg.in/yaml.v2 inline which I use in my yaml2json Bonzai command.