Documentation ¶ Index ¶ Variables func Debug(message string) func EnableDebugMode() func Error(message string, e error) func Info(message string) func Log(message *tgbotapi.Message) func Panic(message string) func SendMsg(c tgbotapi.Chattable, bot *tgbotapi.BotAPI) tgbotapi.Message func Warn(message string) Constants ¶ This section is empty. Variables ¶ View Source var DebugMode bool = false Functions ¶ func Debug ¶ func Debug(message string) func EnableDebugMode ¶ func EnableDebugMode() func Error ¶ func Error(message string, e error) func Info ¶ func Info(message string) func Log ¶ func Log(message *tgbotapi.Message) func Panic ¶ func Panic(message string) func SendMsg ¶ func SendMsg(c tgbotapi.Chattable, bot *tgbotapi.BotAPI) tgbotapi.Message 发送消息并记录,如出现空地址请排查是否启用的 Markdown 语法但标记不能匹配的清空 func Warn ¶ func Warn(message string) Types ¶ This section is empty. Source Files ¶ View all Source files msg.go Click to show internal directories. Click to hide internal directories.