* Dave Cheney <d...@cheney.net> [160917 15:58]:
> Move http.ListenAndServe to the top of the main() function, outside the 
> http.HandleFunc call and it will work.

Don't you mean bottom?  At the top, the ListenAndServe will not return,
so the HandleFunc call will never be made, so you will always get 404.

...Marvin

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to