From eb0b9b95461507a734ffcd9429eb92df923928f0 Mon Sep 17 00:00:00 2001 From: zhiiw <53705571+zhiiw@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:42:12 +0800 Subject: [PATCH] fix:redeclare function cause demo start fail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit What type of PR is this? fix What this PR does / why we need it (English/Chinese): Which issue(s) this PR fixes: zh: 修复无法使用 TikTok_demo 的 example --- bizdemo/tiktok_demo/biz/router/favorite/middleware.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bizdemo/tiktok_demo/biz/router/favorite/middleware.go b/bizdemo/tiktok_demo/biz/router/favorite/middleware.go index 432f37b..b378011 100644 --- a/bizdemo/tiktok_demo/biz/router/favorite/middleware.go +++ b/bizdemo/tiktok_demo/biz/router/favorite/middleware.go @@ -56,11 +56,6 @@ func _favoriteMw() []app.HandlerFunc { return nil } -func _favoriteMw() []app.HandlerFunc { - // your code... - return nil -} - func _listMw() []app.HandlerFunc { // your code... return nil