mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 13:52:59 +02:00
models/issue: improve quality and performance of NewIssue function
This commit is contained in:
1 parent
4a46613916
commit
4042d1f0c3
13 files changed
+146
-173
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user