1
0
Fork 0
forked from forgejo/forgejo

Consistency checks for unit tests (#853)

This commit is contained in:
Ethan Koenig 2017-02-07 06:47:55 -05:00 committed by Lunny Xiao
parent 94130da63a
commit ceae143e78
6 changed files with 182 additions and 12 deletions

View file

@ -30,6 +30,7 @@ import (
// Engine represents a xorm engine or session.
type Engine interface {
Count(interface{}) (int64, error)
Decr(column string, arg ...interface{}) *xorm.Session
Delete(interface{}) (int64, error)
Exec(string, ...interface{}) (sql.Result, error)