added feedback after n secs sleep
This commit is contained in:
parent
f4c08959cd
commit
a2fdf79d5b
@ -61,6 +61,7 @@ func main() {
|
|||||||
dot_count := bytes.Count(d.Body, []byte("."))
|
dot_count := bytes.Count(d.Body, []byte("."))
|
||||||
t := time.Duration(dot_count)
|
t := time.Duration(dot_count)
|
||||||
time.Sleep(t * time.Second)
|
time.Sleep(t * time.Second)
|
||||||
|
log.Printf("Done")
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user