fix(middle): fix middle.template
This commit is contained in:
parent
bd804e7105
commit
49496cf63c
|
@ -11,9 +11,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func GetMiddlewareMap() map[string]middleware.MiddleToolsInterface {
|
func GetMiddlewareMap() map[string]plugins.MiddleToolsInterface {
|
||||||
|
|
||||||
return map[string]middleware.MiddleToolsInterface{
|
return map[string]plugins.MiddleToolsInterface{
|
||||||
{%for dir in dirs %}
|
{%for dir in dirs %}
|
||||||
"{{dir[0]}}":{{dir[0]}}.NewMiddleware(),
|
"{{dir[0]}}":{{dir[0]}}.NewMiddleware(),
|
||||||
{%- endfor%}
|
{%- endfor%}
|
||||||
|
|
Loading…
Reference in New Issue