Browse Source

Changed interface (#3685)

for-closed-social
LefsFlare 8 years ago
committed by 无闻
parent
commit
2bec8a4f1e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/models.go

+ 1
- 1
models/models.go 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) {

Loading…
Cancel
Save