I wanted to sync external GitHub repositories to our internal GitHub repositories. I used “gopkg.in/yamlv2” module, which provides the ability to encode and decode YAML values. I would also need a data structure to hold the values for me. So I used struct to define a type and variable to store the data.
Sort: