feat(middle): update middle define var

This commit is contained in:
Sodesnei 2021-10-10 14:10:21 +08:00
parent 95f165fb55
commit debde8a66a
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import (
var (
oneMiddle sync.Once
MiddleWareDriver *MiddleWare
middleWareDriver *MiddleWare
)
const (

View File

@ -1,6 +1,8 @@
package log_middle
import (
"fmt"
"gitee.com/timedb/wheatCache/plugins"
)
@ -11,7 +13,7 @@ func (i *logMiddle) Init() {
}
func (i *logMiddle) Exec(interface{}) (interface{}, error) {
fmt.Println("logMiddle")
return "", nil
}