4 ms·
Extremely good at turning JSON into a Go struct. Just in general, as someone who has spent years writing Python, it’s helped me fill in gaps with Go. This is a
by oceanplexian 3y ago
Extremely good at turning JSON into a Go struct. Just in general, as someone who has spent years writing Python, it’s helped me fill in gaps with Go. This is a killer feature for GPT.. if you’re proficient in one language it can help you rapidly get up to speed in another.
- jmainguy 3y agoCheck out https://github.com/ChimeraCoder/gojson https://github.com/ChimeraCoder/gojson as well, been my go to for this.
- remlov 3y agoSurprisingly GoLand has this build in. Just copy Json into a .go file and it'll prompt you if it should convert it to a struct.
- denysvitali 3y ago... and there is no need for AI. You can also check out the awesome work Tom did: https://github.com/twpayne/go-jsonstruct https://github.com/twpayne/go-jsonstruct
- sitkack 3y agoNo a general purpose tool just invalidated all that work and more.
- vanjajaja1 3y agounsurprisingly, the thing built for translating languages is really good at translating languages