summaryrefslogtreecommitdiffstats
path: root/vendor/xorm.io/xorm/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/xorm.io/xorm/interface.go')
-rw-r--r--vendor/xorm.io/xorm/interface.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/xorm.io/xorm/interface.go b/vendor/xorm.io/xorm/interface.go
index 262a2cfee0..6aac4ae843 100644
--- a/vendor/xorm.io/xorm/interface.go
+++ b/vendor/xorm.io/xorm/interface.go
@@ -11,6 +11,7 @@ import (
"time"
"xorm.io/xorm/caches"
+ "xorm.io/xorm/contexts"
"xorm.io/xorm/dialects"
"xorm.io/xorm/log"
"xorm.io/xorm/names"
@@ -111,6 +112,7 @@ type EngineInterface interface {
SetTableMapper(names.Mapper)
SetTZDatabase(tz *time.Location)
SetTZLocation(tz *time.Location)
+ AddHook(hook contexts.Hook)
ShowSQL(show ...bool)
Sync(...interface{}) error
Sync2(...interface{}) error