feat: 完成基本的 model

This commit is contained in:
loveuer committed 2025-07-10 22:39:41 +08:00
1 parent 84348f9eaf
commit 99cbe8c523
13 files changed
+400 -14

No files matched your search

+11 -1
View File
@@ -1,7 +1,17 @@
package opt
type config struct {
Debug bool
Debug bool
Version string
Name string
Svc struct {
Address string
DBFile string
}
}
var Cfg = &config{}
func Init() {
Cfg.Version = Version
}