Embedding Data Into Go Programs
In this lesson, we'll use a built-in technique to embed the git tag and the time the program that was built into our executable. Then, we'll use this information inside the program.
We'll cover the following...
Incorporating git tag for auto versioning
Versioning your code is a good practice. If you use a source control system like git, then you can tag commits using the git tag command. ...