shad-go/lectures/10-runtime/example/main.go

13 lines
112 B
Go
Raw Normal View History

2021-02-18 09:45:14 +00:00
package main
import (
"fmt"
"os"
"time"
)
func main() {
fmt.Println(os.Getpid())
time.Sleep(time.Hour)
}