gorm v2 support
This commit is contained in:
谢小军
2020-09-24 20:44:15 +08:00
parent a70ab3ff83
commit 33d22fe2d4
10 changed files with 221 additions and 192 deletions

2
go.mod
View File

@@ -16,6 +16,8 @@ require (
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
gopkg.in/go-playground/validator.v9 v9.30.2
gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2
gorm.io/driver/mysql v1.0.1
gorm.io/gorm v1.20.1
)
// replace github.com/xxjwxc/public => ../public