This wasn’t exactly clear. When using the gopkg.in/yaml.v2 (or gopkg.in/yaml.v1) packages, I was confused as to what to do with my data structure. Let’s say we start off with this file.yml: description: fruits are delicious fruits: apple: - red - sweet lemon: - yellow - sour Here’s a complete example to read this file in and you get a parsed data structure out of it: package main import ( "fmt" "g