by michaelfairley · 13y ago · 0 comments
If you build a webapp in Go, be prepared to spend a lot of time monkeying around with problems that are solved issues on most other platforms.
lis, err := net.Listen("tcp","127.0.0.1:80")
go http.Serve(lis, router)
lis.Close()