-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
更新 gorm 到v2, 因为v1版本依赖github.com/mattn/go-sqlite3 指定为1.14.0版本存在bug
- Loading branch information
Showing
5 changed files
with
22 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
module github.com/cnbattle/douyin | ||
|
||
go 1.14 | ||
go 1.15 | ||
|
||
require ( | ||
github.com/jinzhu/gorm v1.9.15 | ||
github.com/ouqiang/goproxy v1.0.5 | ||
github.com/ouqiang/goproxy v1.1.0 | ||
github.com/spf13/viper v1.7.1 | ||
gorm.io/driver/sqlite v1.1.3 | ||
gorm.io/gorm v1.20.2 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package model | ||
|
||
import "github.com/jinzhu/gorm" | ||
import "gorm.io/gorm" | ||
|
||
type Video struct { | ||
gorm.Model | ||
|