fix(middle): fix middle.template

This commit is contained in:
Sodesnei 2021-10-04 21:15:23 +08:00
parent bd804e7105
commit 49496cf63c
1 changed files with 2 additions and 2 deletions

View File

@ -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 %}
"{{dir[0]}}":{{dir[0]}}.NewMiddleware(),
{%- endfor%}