0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 13:24:18 +01:00

Changed interface (#3685)

This commit is contained in:
LefsFlare 2016-09-23 07:38:12 +08:00 committed by 无闻
parent 7e15ff9486
commit 2bec8a4f1e

View file

@ -34,7 +34,7 @@ type Engine interface {
InsertOne(interface{}) (int64, error) InsertOne(interface{}) (int64, error)
Iterate(interface{}, xorm.IterFunc) error Iterate(interface{}, xorm.IterFunc) error
Sql(string, ...interface{}) *xorm.Session Sql(string, ...interface{}) *xorm.Session
Where(string, ...interface{}) *xorm.Session Where(interface{}, ...interface{}) *xorm.Session
} }
func sessionRelease(sess *xorm.Session) { func sessionRelease(sess *xorm.Session) {