update: 整理项目结构 重写中间件 提高复用性

This commit is contained in:
2025-09-26 12:29:57 +08:00
parent 5daf6df318
commit d15352a18b
9 changed files with 430 additions and 324 deletions

View File

@@ -0,0 +1,15 @@
package version
import "runtime/debug"
var (
Version = "1.1.0-rc"
GitCommit = ""
BuildInfo = ""
)
func init() {
if info, ok := debug.ReadBuildInfo(); ok {
BuildInfo = info.Main.Version
}
}