Remove unnecessary newline
This commit is contained in:
parent
9aed6bf218
commit
ef746d73ec
4
main.go
4
main.go
|
@ -99,8 +99,8 @@ func main() {
|
|||
tgSender := TgSender{bot}
|
||||
go tgSenderWorker(tgEvents, tgSender, &wg, sleeper, log.New(os.Stderr, "TgSender", log.Lmicroseconds))
|
||||
for e := range s.Events {
|
||||
logger.Println("Received change from SATEL: ", e)
|
||||
sendTgMessage(tgEvents, fmt.Sprintln("Change from SATEL: ", "type", e.Type, "index", e.Index, "value", e.Value), chatIds)
|
||||
logger.Print("Received change from SATEL: ", e)
|
||||
sendTgMessage(tgEvents, fmt.Sprint("Change from SATEL: type:", e.Type, ", index:", e.Index, ", value:", e.Value), chatIds)
|
||||
}
|
||||
|
||||
close(tgEvents)
|
||||
|
|
Loading…
Reference in New Issue