8

Preslav Rachev | Adding Version Information to Go Binaries

 收集于3个月前 阅读数 8
原文链接: https://preslav.me/2019/07/09/adding-version-information-to-go-binaries/
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?

猜你喜欢

关于极客头条


聚合每日国内外有价值,有趣的链接。