AI-Generated Go Serialization: High Performance, Zero Boilerplate
go
dev.to
I wanted to share a quick story about a weekend experiment. There is a library called mok that lacks a code generator, so every time you want to mock an interface, it requires you to write all the boilerplate yourself. It's simple but tedious work. I usually just offload it to an AI agent, and with a small example, it completes this task exceptionally well. This got me thinking - could AI handle something more complex, like writing serialization code? If it could, we'd basically get the best o