wheat-cache/plugins/config/middle.template

21 lines
474 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]plugins.MiddleToolsInterface {
return map[string]plugins.MiddleToolsInterface{
{%for dir in dirs %}
"{{dir[0]}}":{{dir[0]}}.NewMiddleware(),
{%- endfor%}
}
}