feat: 完成基本的 model

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

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
}