diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-08-22 19:39:52 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-08-22 14:39:52 +0300 |
commit | 2c6a0fdca83ab4ccc2e5628e4ca7d229c844618c (patch) | |
tree | 0389e8ad3f6b3b0a7e52d9dab7aef193753d9d21 /models/models.go | |
parent | 5c29b0a5fe1a124572ccaa55bd79fee2ce894253 (diff) | |
download | gitea-2c6a0fdca83ab4ccc2e5628e4ca7d229c844618c.tar.gz gitea-2c6a0fdca83ab4ccc2e5628e4ca7d229c844618c.zip |
update latest xorm version to vendor (#2353)
Diffstat (limited to 'models/models.go')
-rw-r--r-- | models/models.go | 2 |
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) |