Practical Cue Example, Produce YAML Config from Go Types
A hands-on Cue tutorial: start from Go types, generate Cue definitions, and produce two different YAML config files from them.
I recently had to spend some time to learn Cue and felt the examples/tutorials were a bit lacking. The paradigm shift to the entire language sort of messed with my head, and some things Cue does were a bit foreign to me. To get started, note that I spent all of my time getting this information from two places: their main docs and a community Cuetorials site. This will be a tutorial on how you can use Cue to generate two different YAML documents, all starting with Go types to generate Cue files.
