From 2fc3704ba624602c231c23fcd12014a31cbe76b4 Mon Sep 17 00:00:00 2001 From: liukun Date: Thu, 14 Nov 2024 16:52:31 +0800 Subject: [PATCH] fix: remove duplicate function _favoriteMw --- 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