修复循环引用问题

This commit is contained in:
2025-04-12 21:24:02 +08:00
parent 91a1d34474
commit 5df4fbab16
5 changed files with 49 additions and 76 deletions

View File

@ -126,17 +126,6 @@ func WithPprofEnable() SetServerOptionFunc {
}
}
// WithEnableRequestInit 全局配置初始化
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 14:56 2025/2/22
func WithEnableRequestInit() SetServerOptionFunc {
return func(so *serverOption) {
so.enableRequestInit = true
}
}
// WithEnableCors 启用全局跨域
//
// Author : go_developer@163.com<白茶清欢>