summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-08-22 19:39:52 +0800
committerLauris BH <lauris@nix.lv>2017-08-22 14:39:52 +0300
commit2c6a0fdca83ab4ccc2e5628e4ca7d229c844618c (patch)
tree0389e8ad3f6b3b0a7e52d9dab7aef193753d9d21 /models/models.go
parent5c29b0a5fe1a124572ccaa55bd79fee2ce894253 (diff)
downloadgitea-2c6a0fdca83ab4ccc2e5628e4ca7d229c844618c.tar.gz
gitea-2c6a0fdca83ab4ccc2e5628e4ca7d229c844618c.zip
update latest xorm version to vendor (#2353)
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go
index 1688a63649..e5d3597ce7 100644
--- a/models/models.go
+++ b/models/models.go
@@ -31,7 +31,7 @@ import (
// Engine represents a xorm engine or session.
type Engine interface {
Table(tableNameOrBean interface{}) *xorm.Session
- Count(interface{}) (int64, error)
+ Count(...interface{}) (int64, error)
Decr(column string, arg ...interface{}) *xorm.Session
Delete(interface{}) (int64, error)
Exec(string, ...interface{}) (sql.Result, error)