fix
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9743060604
commit
e4741d5de2
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue