style(telegram): satisfy handler interface lint
This commit is contained in:
parent
b5a056e823
commit
fac8c0f5c3
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ type TelegramChannel struct {
|
||||||
|
|
||||||
type telegramBotHandler interface {
|
type telegramBotHandler interface {
|
||||||
Start() error
|
Start() error
|
||||||
StopWithContext(context.Context) error
|
StopWithContext(ctx context.Context) error
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewTelegramChannel(cfg *config.Config, bus *bus.MessageBus) (*TelegramChannel, error) {
|
func NewTelegramChannel(cfg *config.Config, bus *bus.MessageBus) (*TelegramChannel, error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue