Thanks a ton for the explanation and for helping to fix the issue. I will
keep the yaml library in mind.
On Monday, 11 April 2022 at 15:44:58 UTC+10 sam.a@gmail.com wrote:
> I skipped over to that package, and the doc says it converts from yaml to
> json, and the marshals/unmarshals. I trie
I skipped over to that package, and the doc says it converts from yaml to
json, and the marshals/unmarshals. I tried changing your snippet to use
struct tags with the key name as "json" instead of "yaml", and it
immediately behaved as expected: https://goplay.tools/snippet/PSZtr1YErD8
While you