As far as I understand it: "go foo(bar, baz)" evaluates all the arguments 
first, *then* starts a goroutine with function foo(val1, val2)

Since http.ListenAndServe() never returns [unless it fails to start], it 
never gets as far as starting a goroutine for log.Fatal, and therefore 
cannot continue to the rest of the code.

>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/26056674-e0db-446c-89d3-42ed81c05408n%40googlegroups.com.

Reply via email to