在 go 中,通用类的强大功能对于仓库模式有何意义?

作者: frederikhors创建于 2022年5月25日更新于 2022年5月26日

我刚刚发现了这个很棒的帖子: https://hindenbug.io/the-power-of-generics-in-go-the-repository-pattern-for-gorm-7f8891df0934。你们怎么看呢?

内容来源: ThreeDotsLabs/wild-workouts-go-ddd-example