feat: remove comment

This commit is contained in:
2025-12-26 15:15:54 +08:00
parent 1636a2652f
commit 29201ac796
3 changed files with 0 additions and 24 deletions

View File

@@ -15,10 +15,6 @@ import (
)
// ValidateBlackIPMiddleware 验证黑名单IP的中间件
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 23:24 2022/6/25
func ValidateBlackIPMiddleware(code interface{}, httpCode int, validateFunc define.IsBlackIP) gin.HandlerFunc {
return func(ctx *gin.Context) {
if nil == validateFunc {
@@ -40,10 +36,6 @@ func ValidateBlackIPMiddleware(code interface{}, httpCode int, validateFunc defi
}
// ValidateWhiteIPMiddleware 是否白名单IP
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 23:33 2022/6/25
func ValidateWhiteIPMiddleware(code interface{}, httpCode int, validateFunc define.IsWhiteIP) gin.HandlerFunc {
return func(ctx *gin.Context) {
if nil == validateFunc {