chore: 清理死代码与空壳中间件

删除 email handler/user/ 和 logic/user/ 下未被 routes.go 引用的
重复 forgotPasswordHandler。删除 jwtauthMiddleware 空壳。
This commit is contained in:
zetaloop
2026-04-05 18:22:48 +08:00
parent 529139893b
commit dc076e19ae
3 changed files with 0 additions and 88 deletions
@@ -1,22 +0,0 @@
// Code scaffolded by goctl. Safe to edit.
// goctl 1.9.2
package middleware
import "net/http"
type JwtAuthMiddleware struct {
}
func NewJwtAuthMiddleware() *JwtAuthMiddleware {
return &JwtAuthMiddleware{}
}
func (m *JwtAuthMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
// TODO generate middleware implement function, delete after code implementation
// Passthrough to next handler if need
next(w, r)
}
}