Skip to content

Commit 7224cfc

Browse files
authored
Upgrade xorm to v1.2.2 (#16663)
* Upgrade xorm to v1.2.2 * Change the Engine interface to match xorm v1.2.2
1 parent 5fbccad commit 7224cfc

File tree

134 files changed

+42865
-5404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+42865
-5404
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ require (
7878
github.com/markbates/goth v1.68.0
7979
github.com/mattn/go-isatty v0.0.13
8080
github.com/mattn/go-runewidth v0.0.13 // indirect
81-
github.com/mattn/go-sqlite3 v1.14.7
81+
github.com/mattn/go-sqlite3 v1.14.8
8282
github.com/mholt/archiver/v3 v3.5.0
8383
github.com/microcosm-cc/bluemonday v1.0.15
8484
github.com/miekg/dns v1.1.43 // indirect
@@ -139,7 +139,7 @@ require (
139139
mvdan.cc/xurls/v2 v2.2.0
140140
strk.kbt.io/projects/go/libravatar v0.0.0-20191008002943-06d1c002b251
141141
xorm.io/builder v0.3.9
142-
xorm.io/xorm v1.1.2
142+
xorm.io/xorm v1.2.2
143143
)
144144

145145
replace github.com/hashicorp/go-version => github.com/6543/go-version v1.3.1

go.sum

Lines changed: 175 additions & 27 deletions
Large diffs are not rendered by default.

models/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type Engine interface {
3333
Table(tableNameOrBean interface{}) *xorm.Session
3434
Count(...interface{}) (int64, error)
3535
Decr(column string, arg ...interface{}) *xorm.Session
36-
Delete(interface{}) (int64, error)
36+
Delete(...interface{}) (int64, error)
3737
Exec(...interface{}) (sql.Result, error)
3838
Find(interface{}, ...interface{}) error
3939
Get(interface{}) (bool, error)

vendor/github.com/goccy/go-json/.codecov.yml

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/goccy/go-json/.gitignore

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/goccy/go-json/.golangci.yml

Lines changed: 75 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/goccy/go-json/CHANGELOG.md

Lines changed: 236 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/goccy/go-json/LICENSE

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)