Sign in
go
/
vscode-go
/
2a9fb96555c7e6317119e4927ec807e32ce89ce9
/
.
/
test
/
testdata
/
sleep
/
sleep.go
blob: fa3ea47d8d0b9872a8d1695d5203fa8fc83fd4e1 [
file
] [
log
] [
blame
]
package main
import (
"fmt"
"time"
)
func main() {
for i := 0; i < 3; i++ {
fmt.Println("Hello!")
time.Sleep(2 * time.Second)
fmt.Println("Goodbye!")
}
}