package main import ( "fmt" "time" ) func test() { fmt.Println("hello word") } func main() { go test() time.Sleep(time.Second*2) }
package main import ( "fmt" "time" ) func test() { fmt.Println("hello word") } func main() { go test() time.Sleep(time.Second*2) }