style(telegram): satisfy handler interface lint

This commit is contained in:
李龙 0668001470 2026-03-16 01:59:06 +08:00
parent b5a056e823
commit fac8c0f5c3

View file

@ -58,7 +58,7 @@ type TelegramChannel struct {
type telegramBotHandler interface {
Start() error
StopWithContext(context.Context) error
StopWithContext(ctx context.Context) error
}
func NewTelegramChannel(cfg *config.Config, bus *bus.MessageBus) (*TelegramChannel, error) {