[xorm] Rmove engine group (#60761)

This commit is contained in:
ying-jeanne
2022-12-26 05:32:51 -05:00
committed by GitHub
parent 572e5a76ef
commit 33dbbbad6b
6 changed files with 10 additions and 355 deletions
+2 -3
View File
@@ -13,7 +13,7 @@ import (
"xorm.io/core"
)
// Interface defines the interface which Engine, EngineGroup and Session will implementate.
// Interface defines the interface which Engine and Session will implementate.
type Interface interface {
AllCols() *Session
Alias(alias string) *Session
@@ -67,7 +67,7 @@ type Interface interface {
Where(interface{}, ...interface{}) *Session
}
// EngineInterface defines the interface which Engine, EngineGroup will implementate.
// EngineInterface defines the interface which Engine will implementate.
type EngineInterface interface {
Interface
@@ -116,5 +116,4 @@ type EngineInterface interface {
var (
_ Interface = &Session{}
_ EngineInterface = &Engine{}
_ EngineInterface = &EngineGroup{}
)