From 49496cf63c67b9667d4d1f8b630d1fbdc8a6d123 Mon Sep 17 00:00:00 2001 From: Sodesnei <1452401269@qq.com> Date: Mon, 4 Oct 2021 21:15:23 +0800 Subject: [PATCH] fix(middle): fix middle.template --- plugins/config/middle.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/config/middle.template b/plugins/config/middle.template index 1f6d411..10b56e8 100644 --- a/plugins/config/middle.template +++ b/plugins/config/middle.template @@ -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%}