forked from p93542168/wheat-cache
21 lines
480 B
Plaintext
21 lines
480 B
Plaintext
|
// Code generated by gen-middleware. DO NOT EDIT.
|
||
|
// make gen-middleware generated
|
||
|
|
||
|
package config
|
||
|
|
||
|
import (
|
||
|
"gitee.com/timedb/wheatCache/plugins"
|
||
|
{%for dir in dirs %}
|
||
|
{{dir[0]}} "gitee.com/timedb/wheatCache/plugins/{{dir[1]}}"
|
||
|
{%- endfor%}
|
||
|
)
|
||
|
|
||
|
|
||
|
func GetMiddlewareMap() map[string]middleware.MiddleToolsInterface {
|
||
|
|
||
|
return map[string]middleware.MiddleToolsInterface{
|
||
|
{%for dir in dirs %}
|
||
|
"{{dir[0]}}":{{dir[0]}}.NewMiddleware(),
|
||
|
{%- endfor%}
|
||
|
}
|
||
|
}
|