And if you can spare an extra ~150ms startup time:
https://blog.filippo.io/shrink-your-go-binaries-with-this-on...
https://blog.filippo.io/shrink-your-go-binaries-with-this-on...
Trying to decide if it's worth working into the containers that I maintain.
In reality you'll tell whatever deployment system to deploy your binary/container, and you'll just wait until it's done. In such cases, 150ms won't make a difference in the grand scheme of things due to other systems such as your CI and other things in your pipeline.
goupx is not necessary after go 1.6. https://github.com/pwaller/goupx#update-20160310