add listener service and message module
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.3crabs.ru/VLADIMIR/butler/internal/modules/messenger/telegram"
|
||||
"git.3crabs.ru/VLADIMIR/butler/internal/services/listener"
|
||||
)
|
||||
|
||||
func main() {
|
||||
messengerTelegram := telegram.NewMessengerTelegram()
|
||||
listenerService := listener.NewListener(messengerTelegram)
|
||||
ctx := context.Background()
|
||||
listenerService.Run(ctx)
|
||||
}
|
||||
Reference in New Issue
Block a user