refactor: 代码优化&依赖升级

This commit is contained in:
meilin.huang
2026-03-18 20:58:41 +08:00
parent bfa41c3621
commit 414e4b0b36
29 changed files with 405 additions and 371 deletions

View File

@@ -35,6 +35,8 @@ type feishuBotMsgResp struct {
// FeishuBotSender 发送飞书机器人消息
type FeishuBotSender struct{}
var _ msgx.MsgSender = FeishuBotSender{}
func (f FeishuBotSender) Send(ctx context.Context, channel *msgx.Channel, msg *msgx.Msg) error {
// https://open.feishu.cn/document/client-docs/bot-v3/add-custom-bot
msgReq := feishuBotMsgReq{