added delay

This commit is contained in:
Nick 2021-05-22 21:16:08 -04:00
parent e66767fead
commit 17ab0940f7

View File

@ -1,7 +1,11 @@
package main package main
import "fmt" import ( "fmt"
"time"
)
func main(){ func main(){
fmt.Println("Hello World!") fmt.Println("Hello World!")
duration := time.Second
time.Sleep(duration)
} }