package log_middle import ( "fmt" "gitee.com/timedb/wheatCache/middleware" ) type ABB struct { } func (i *ABB) Init() { } func (i *ABB) Exec(interface{}) (interface{}, error) { fmt.Println(1) return nil, nil } func NewMiddleware() middleware.MiddleToolsInterface { return &ABB{} }