fix
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Владимир Фёдоров 2024-05-24 02:10:08 +07:00
parent 9743060604
commit e4741d5de2
1 changed files with 6 additions and 0 deletions

View File

@ -33,8 +33,14 @@ func main() {
panic(err) panic(err)
} }
chatID, err := strconv.ParseInt(string(chatIdData), 10, 64) chatID, err := strconv.ParseInt(string(chatIdData), 10, 64)
if err != nil {
panic(err)
}
messenger, err := telegram.NewMessenger(chatID, token) messenger, err := telegram.NewMessenger(chatID, token)
if err != nil {
panic(err)
}
// Create a listener on TCP port // Create a listener on TCP port
lis, err := net.Listen("tcp", ":8080") lis, err := net.Listen("tcp", ":8080")