test
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Andreas Neue 2019-08-01 11:44:36 +02:00
parent f375dc5e4d
commit 45e0de4b8c
1 changed files with 5 additions and 0 deletions

View File

@ -31,8 +31,11 @@ func Matrix() {
}
})
fmt.Println("hier 1")
go func() {
for {
fmt.Println("hier 2")
if err := cl.Sync(); err != nil {
fmt.Println("Sync() returned ", err)
}
@ -43,6 +46,7 @@ func Matrix() {
sayCh <- fmt.Sprintf("%s\n%s", "*", SoftwareInfo())
for {
fmt.Println("hier 3")
var targets string
line := strings.Split(<-sayCh, "\n")
if len(line) < 2 {
@ -58,5 +62,6 @@ func Matrix() {
cl.SendText(tar, line[1])
time.Sleep(1 * time.Second)
}
time.sleep(1 * time.Second)
}
}