Go comes with a built in web server that can serve static web pages easily. What's the point of this?
Without, you know, having to write it, even if Go's libraries make it fairly easy to do so.
My go-to (haha) for this is Goserve[1]. I'm not sure why I'd switch to this, except that it may now have more eyes on it after today's publicity (it's already got more stars than Goserve—a little advertising goes a long way)
$ go get github.com/m3ng9i/ran && ranI use "python3 -m http.server" a lot when I'm just testing a bit of HTML/JS and don't want to setup a whole virtual host within Nginx/Apache. It just starts a static file server, on any platform.