feat(middle): update middle define var
This commit is contained in:
parent
95f165fb55
commit
debde8a66a
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
var (
|
||||
oneMiddle sync.Once
|
||||
MiddleWareDriver *MiddleWare
|
||||
middleWareDriver *MiddleWare
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue