JSON, interfaces, and go generate Francesc Campoy Developer, Advocate, and Gopher Your mission Your mission, should you choose to accept it, is to decode this message: { "name": "Gopher", "birthdate": "2009/11/10", "shirt-size": "XS" } into: type Person struct { Name string Born time.Time Size ShirtSize } 2 Your mission (cont.) Where ShirtSize is an enum (1): type ShirtSize byte const ( NA ShirtSi
{{#tags}}- {{label}}
{{/tags}}