pilinux/gorest

go-orm ? official package ?

Closed this issue · 1 comments

Hello,

It is only a question :

I see you import "github.com/jinzhu/gorm"
and not gorm.io/gorm

It is the same ?

Thanks

I am using v1 of gorm http://v1.gorm.io and the import should be github.com/jinzhu/gorm.

Later, v2 is released and should be imported from gorm.io/gorm.

I haven't tested v2 yet, hence cannot confirm whether it is backward compatible or not.