Re:Go 2 Draft Designs
by lima on Tuesday August 28, 2018 @02:26PM
(#17861417)
The closest thing is auto-generating code, not using interface{}.
[ Parent
| on HN ]
Re:Go 2 Draft Designs
by platinumrad on Tuesday August 28, 2018 @02:34PM
(#17861527)
Yes, but there's still a depressingly large amount of code in the wild that just casts interface{} back and forth.
Common with ORMs. The gorm API is horrible - it's all interfaces.
The only reasonable ORM library I've seen is sqlboiler, which uses code generation.