blob: b86d97bdb88462dc0c8d84b6f3593c6d8b77daea [file] [log] [blame]
// +build ignore,OMIT
package main
import (
"fmt"
"time"
)
func main() {
go say("let's go!", 3)
go say("ho!", 2)
go say("hey!", 1)
time.Sleep(4 * time.Second)
}
func say(text string, secs int) {
time.Sleep(time.Duration(secs) * time.Second)
fmt.Println(text)
}