🎨 优化代码结构

This commit is contained in:
源文雨
2022-04-14 17:09:28 +08:00
parent a9327d1774
commit 7401a0cbec
9 changed files with 123 additions and 62 deletions

13
config.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
zero "github.com/wdvxdr1123/ZeroBot"
"github.com/wdvxdr1123/ZeroBot/driver"
)
type zbpcfg struct {
Z zero.Config `json:"zero"`
W []*driver.WSClient `json:"ws"`
}
var config zbpcfg