此夠程塊...這個goroutine爲什麼會阻塞?
go log.Fatal(http.ListenAndServe(":8000", nil))
log.Print("This doesn't print")
此夠程不會阻止...
go func() {
log.Fatal(http.ListenAndServe(":8000", nil))
}()
log.Print("This prints")
此夠程也不會阻止...
go http.ListenAndServe(":8000", nil)
log.Print("This prints")