Skip to content

Golang Concurrency

原文链接

The main function indeed runs in its own go routine.

<-time.After(time.Second * 5) //Receiving from channel after 5 sec