42

Preslav Rachev | Adding Version Information to Go Binaries

 4 years ago
source link: https://preslav.me/2019/07/09/adding-version-information-to-go-binaries/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
One of the things that I find really neat about Go, is the single-executable delivery model. For small projects, it’s as simple as dragging and dropping the built executable right where I need it. After some time, however, I might easily forget which version of my codebase a given executable has been built upon. If I have to revert a change, how can I make sure that I build from the right commit?

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK