package main import ( "fmt" "time" "flag" ) func main() { count := flag.Int("count", 10, "Seconds to wait") id := flag.Int("id", 1, "Tester ID to use.") for i := 0; i < *count; i++ { time.Sleep(1 * time.Second) fmt.Println("TICK", *id) } }