mirror of https://github.com/talgo-cloud/bimg.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
329 B
17 lines
329 B
package main
|
|
|
|
import . "github.com/visionmedia/go-debug"
|
|
import "time"
|
|
|
|
var debug = Debug("single")
|
|
|
|
func main() {
|
|
for {
|
|
debug("sending mail")
|
|
debug("send email to %s", "tobi@segment.io")
|
|
debug("send email to %s", "loki@segment.io")
|
|
debug("send email to %s", "jane@segment.io")
|
|
time.Sleep(500 * time.Millisecond)
|
|
}
|
|
}
|