8treenet / gcache

gcache是gorm的中间件,插入后gorm即刻拥有缓存。
Apache License 2.0
386 stars 52 forks source link

gorm v2 support #14

Open liepumartins opened 4 years ago

liepumartins commented 4 years ago

Any plans on v2 support? gorm.io/gorm

8treenet commented 4 years ago

暂时不打算更新和支持了,orm全称是对象关系映射。没有泛型那么这个对象映射真的很凑合。等go出泛型。gorm和xorm重写了。我在支持。这应该是重写

zhuxubin01 commented 3 years ago

大佬 开始重写了吗

a67793581 commented 2 years ago

可以看看这个 https://github.com/Pacific73/gorm-cache

linyuyizhipao commented 2 years ago

大佬 开始重写了吗

liepumartins commented 2 years ago

I do not believe that they will rewrite gorm. Not anytime soon anyway. Generics add little value to current implementation.

More: https://github.com/go-gorm/gorm/issues/4944