Just move your main to a realmain pkg, and have a shim that just calls it.
I used to create a "func Main() error" and a main which calls this, and
log,Fatal on error.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group
Hi
I am evaluating appengine for a golang project. It is a simple REST server
with a bunch of endpoints. I am currently deploying it in AWS, in an EC2
instance. I have written a systemd script file which will take care of
launching the webserver as a systemd service (so that it is always up etc