mirror of
https://gitee.com/gitea/gitea
synced 2025-12-09 09:40:33 +08:00
models/issue: improve quality and performance of NewIssue function
This commit is contained in:
@@ -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