summaryrefslogtreecommitdiffstats
path: root/models/models.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-15 18:40:32 -0700
committerUnknwon <u@gogs.io>2016-08-15 18:40:32 -0700
commit4042d1f0c3c545773f81e2ca1b4eb8662bc4c425 (patch)
tree9bbbb404c9ee719f10e379cfc9699fddeaa94c0a /models/models.go
parent4a46613916cdfa6a168746aba6abcd698cd17875 (diff)
downloadgitea-4042d1f0c3c545773f81e2ca1b4eb8662bc4c425.tar.gz
gitea-4042d1f0c3c545773f81e2ca1b4eb8662bc4c425.zip
models/issue: improve quality and performance of NewIssue function
Diffstat (limited to 'models/models.go')
-rw-r--r--models/models.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 98e07c50f4..582c4403ad 100644
--- a/models/models.go
+++ b/models/models.go
@@ -29,6 +29,7 @@ type Engine interface {
Find(interface{}, ...interface{}) error
Get(interface{}) (bool, error)
Id(interface{}) *xorm.Session
+ In(string, ...interface{}) *xorm.Session
Insert(...interface{}) (int64, error)
InsertOne(interface{}) (int64, error)
Iterate(interface{}, xorm.IterFunc) error