added package version api, dependencies upgrade

This commit is contained in:
yusing
2024-10-06 09:23:41 +08:00
parent aa6fafd52f
commit 03cad9f315
15 changed files with 107 additions and 193 deletions

7
pkg/version.go Normal file
View File

@@ -0,0 +1,7 @@
package pkg
var version = "unset"
func GetVersion() string {
return version
}