forked from p93542168/wheat-cache
23 lines
292 B
Go
23 lines
292 B
Go
|
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{}
|
||
|
}
|