Inject values into your golang binary at build time
I recently discovered that you can update the value of a string variable inside your golang code via compiler flags. This is very useful for scenarios where you want to set a value based on an external process, but you don't want to let your users c...
ramiroberrelleza.com2 min read