added delay
This commit is contained in:
parent
e66767fead
commit
17ab0940f7
8
hello.go
8
hello.go
@ -1,7 +1,11 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
import ( "fmt"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main(){
|
||||
fmt.Println("Hello World!")
|
||||
fmt.Println("Hello World!")
|
||||
duration := time.Second
|
||||
time.Sleep(duration)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user