做动态版本

This commit is contained in:
2025-11-06 23:32:06 +08:00
parent 84ea708cdf
commit d2806311bb
5 changed files with 16 additions and 7 deletions
+9
View File
@@ -0,0 +1,9 @@
package version
// Version 项目版本号
const Version = "1.0.1"
// GetVersion 获取版本号
func GetVersion() string {
return Version
}