go-gorm / dbresolver

Multiple databases, read-write splitting FOR GORM

Home Page:https://gorm.io/docs/dbresolver.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My lower version of gorm

Linuxea opened this issue · comments

My gorm version is:
github.com/jinzhu/gorm v1.9.16

I want to introduce DB resolver into our project to achieve a read/write split and so on.

But I found the DB resolver can't match the using gorm version.

Can u give me some advice?

need to upgrade it to gorm.io/gorm https://gorm.io/docs/v2_release_note.html

The API is not backward compatible completely, we try to upgrade gorm some times ago and rollback.
Try to edit this repo source code is a better choice. @jinzhu