diff options
author | Unknwon <u@gogs.io> | 2016-08-15 18:40:32 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-15 18:40:32 -0700 |
commit | 4042d1f0c3c545773f81e2ca1b4eb8662bc4c425 (patch) | |
tree | 9bbbb404c9ee719f10e379cfc9699fddeaa94c0a /models/models.go | |
parent | 4a46613916cdfa6a168746aba6abcd698cd17875 (diff) | |
download | gitea-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.go | 1 |
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 |