feat: save code

This commit is contained in:
2025-09-13 16:54:52 +08:00
parent f9d8253ab9
commit 4fe5d3749e
2 changed files with 8 additions and 18 deletions

View File

@ -15,6 +15,7 @@ import (
"github.com/gin-gonic/gin"
)
// SetServerOptionFunc 设置server实例的选项, 在服务启动阶段可以对服务进行一些配置
type SetServerOptionFunc func(so *serverOption)
// serverOption 获取server实例的选项