Automatically start godoc localhost server in OS X?
In Go, you can start HTTP server and then browse through the Go document
via the specific port. For example, when you type in godoc -http=:3333,
then the localhost server starts working with port 3333 and you can use it
to view the official Go document.
However, I'd like to make it start automatically whenever I log in to the
OS X system, since it is so powerful and convenient to write in Go code
with even when I'm off the Wi-Fi connection. So is it feasible to use such
daemon in OS X?
I've implemented and utilized the exact functionality in MongoDB from an
example here, and it's exactly this kind of service that I want to
achieve...
Thanks.
No comments:
Post a Comment