We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tried to use exsit gorm instance which is "github.com/jinzhu/gorm", failed due to below error:
Cannot use 'component.DB' (type *"github.com/jinzhu/gorm".DB) as type *"gorm.io/gorm".DB
//code sample
adapter, err := gormadapter.NewAdapterByDB(component.DB)
The text was updated successfully, but these errors were encountered:
github.com/jinzhu/gorm path is deprecated. Please update it to use gorm.io/gorm instead.
github.com/jinzhu/gorm
gorm.io/gorm
Sorry, something went wrong.
hsluoyz
No branches or pull requests
tried to use exsit gorm instance which is "github.com/jinzhu/gorm", failed due to below error:
Cannot use 'component.DB' (type *"github.com/jinzhu/gorm".DB) as type *"gorm.io/gorm".DB
//code sample
adapter, err := gormadapter.NewAdapterByDB(component.DB)
The text was updated successfully, but these errors were encountered: