I would like to embed in the compiled binary information passed to the build process, at build time (typically a string, specifically the commit hash during my CI/CD execution).
I then would like to simply display it with fmt.Sprintf("%v", thisEmbeddedString)
.
I was hoping for the embed
package to be a solution, but it seems to be only for files.