Open KiddoV opened 1 year ago
Got this error when using:
import ( "gorm.io/gorm" "github.com/qor/validations" ) database, _ := gorm.Open(...) validations.RegisterCallbacks(database)
Err:
cannot use database (variable of type *"gorm.io/gorm".DB) as *"github.com/jinzhu/gorm".DB value in argument to validations.RegisterCallbacks
Same
same issue
Got this error when using:
Err: