added another line
This commit is contained in:
parent
5711f1d8c8
commit
5847938677
3
hello.go
3
hello.go
@ -2,6 +2,7 @@ package main
|
|||||||
|
|
||||||
import ( "fmt"
|
import ( "fmt"
|
||||||
"time"
|
"time"
|
||||||
|
"runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main(){
|
func main(){
|
||||||
@ -11,4 +12,6 @@ func main(){
|
|||||||
fmt.Println("Hello World! 1")
|
fmt.Println("Hello World! 1")
|
||||||
time.Sleep(duration)
|
time.Sleep(duration)
|
||||||
fmt.Println("Hello World! 2")
|
fmt.Println("Hello World! 2")
|
||||||
|
time.Sleep(duration)
|
||||||
|
fmt.Printf("Hello from: %s %s\n",runtime.GOOS,runtime.GOARCH)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user