diff options
author | LefsFlare <LefsFlarey@users.noreply.github.com> | 2016-09-23 07:38:12 +0800 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-09-22 19:38:12 -0400 |
commit | 2bec8a4f1ef6b48220a0010c1482e561abd55810 (patch) | |
tree | fd6e3cd7c6e6514881c43b2f0ec33daab6d5fb54 /models/models.go | |
parent | 7e15ff9486cde36b76f3d39b7db23f89278acb7d (diff) | |
download | gitea-2bec8a4f1ef6b48220a0010c1482e561abd55810.tar.gz gitea-2bec8a4f1ef6b48220a0010c1482e561abd55810.zip |
Changed interface (#3685)
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 481e53e36e..0cf422a9a1 100644 --- a/models/models.go +++ b/models/models.go @@ -34,7 +34,7 @@ type Engine interface { InsertOne(interface{}) (int64, error) Iterate(interface{}, xorm.IterFunc) error Sql(string, ...interface{}) *xorm.Session - Where(string, ...interface{}) *xorm.Session + Where(interface{}, ...interface{}) *xorm.Session } func sessionRelease(sess *xorm.Session) { |