Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = struct { ChannelBot struct { Enable string `yaml:"enable"` Appid string `yaml:"appid"` Token string `yaml:"token"` } `yaml:"channelBot"` LogLevel string `yaml:"logLevel,omitempty"` GroupBot struct { Enable string `yaml:"enable"` VerifyKey string `yaml:"verifyKey"` BotQQ string `yaml:"botQQ"` BotGroup string `yaml:"botGroup"` BaseUrl string `yaml:"baseUrl"` } `yaml:"groupBot"` Test struct { AA string `yaml:"aa"` } `yaml:"test"` }{ LogLevel: "debug", }
View Source
var MessageChannel = make(chan string)
Functions ¶
func GetAbsolutePath ¶
GetAbsolutePath 获取从程序根路径开始的绝对路径
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.