A better way than “ldflags” to add a build version to your Go binaries

Like a lot of people using Go, I used “ldflags” to add the version number to my binaries. It worked great, every time a binary was built…Continue reading on Level Up Coding »


This content originally appeared on Level Up Coding - Medium and was authored by Andrew Hayes

Like a lot of people using Go, I used “ldflags” to add the version number to my binaries. It worked great, every time a binary was built…


This content originally appeared on Level Up Coding - Medium and was authored by Andrew Hayes


Print Share Comment Cite Upload Translate Updates
APA

Andrew Hayes | Sciencx (2022-01-18T23:37:33+00:00) A better way than “ldflags” to add a build version to your Go binaries. Retrieved from https://www.scien.cx/2022/01/18/a-better-way-than-ldflags-to-add-a-build-version-to-your-go-binaries/

MLA
" » A better way than “ldflags” to add a build version to your Go binaries." Andrew Hayes | Sciencx - Tuesday January 18, 2022, https://www.scien.cx/2022/01/18/a-better-way-than-ldflags-to-add-a-build-version-to-your-go-binaries/
HARVARD
Andrew Hayes | Sciencx Tuesday January 18, 2022 » A better way than “ldflags” to add a build version to your Go binaries., viewed ,<https://www.scien.cx/2022/01/18/a-better-way-than-ldflags-to-add-a-build-version-to-your-go-binaries/>
VANCOUVER
Andrew Hayes | Sciencx - » A better way than “ldflags” to add a build version to your Go binaries. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/18/a-better-way-than-ldflags-to-add-a-build-version-to-your-go-binaries/
CHICAGO
" » A better way than “ldflags” to add a build version to your Go binaries." Andrew Hayes | Sciencx - Accessed . https://www.scien.cx/2022/01/18/a-better-way-than-ldflags-to-add-a-build-version-to-your-go-binaries/
IEEE
" » A better way than “ldflags” to add a build version to your Go binaries." Andrew Hayes | Sciencx [Online]. Available: https://www.scien.cx/2022/01/18/a-better-way-than-ldflags-to-add-a-build-version-to-your-go-binaries/. [Accessed: ]
rf:citation
» A better way than “ldflags” to add a build version to your Go binaries | Andrew Hayes | Sciencx | https://www.scien.cx/2022/01/18/a-better-way-than-ldflags-to-add-a-build-version-to-your-go-binaries/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.