package main import ( "fmt" "time" ) func main() { for { time.Sleep(time.Duration(1) * time.Second) fmt.Println("hello go") } }