News for hackers. Stuff that matters.
Re:How are you using ChatGPT internally at your company? by oceanplexian on Saturday May 06, 2023 @08:49PM (#35846762)
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.
Re:How are you using ChatGPT internally at your company? by jmainguy on Saturday May 06, 2023 @08:52PM (#35846781)
Check out https://github.com/ChimeraCoder/gojson as well, been my go to for this.
Re:How are you using ChatGPT internally at your company? by remlov on Saturday May 06, 2023 @09:48PM (#35847111)
Surprisingly 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.
Re:How are you using ChatGPT internally at your company? by denysvitali on Sunday May 07, 2023 @08:44AM (#35850898)
... and there is no need for AI.

You can also check out the awesome work Tom did: https://github.com/twpayne/go-jsonstruct

Re:How are you using ChatGPT internally at your company? by sitkack on Sunday May 07, 2023 @09:43AM (#35851451)
No a general purpose tool just invalidated all that work and more.
Re:How are you using ChatGPT internally at your company? by vanjajaja1 on Saturday May 06, 2023 @10:01PM (#35847189)
unsurprisingly, the thing built for translating languages is really good at translating languages