help ?
This commit is contained in:
parent
5ea01ae0b3
commit
0ec5737337
6
main.go
6
main.go
@ -118,6 +118,12 @@ func main() {
|
|||||||
fmt.Println("Started !")
|
fmt.Println("Started !")
|
||||||
go ListenCW(client)
|
go ListenCW(client)
|
||||||
|
|
||||||
|
log.Println("Forever.")
|
||||||
|
// Main loop
|
||||||
|
for {
|
||||||
|
time.Sleep(1 * time.Second)
|
||||||
|
log.Println("Alive.")
|
||||||
|
}
|
||||||
forever := make(chan bool)
|
forever := make(chan bool)
|
||||||
<-forever
|
<-forever
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user