Setting Environment Variables for a Project - VIPER
About a few months ago, I wrote an article on how to set environment variables in golang, and setting environment variables gracefully is a very important thing, so I wrote a simple function to do it. The initial consideration is very simple. If a corresponding config file is provided, use os.setenv to set the key/value inside. After that throughout the app...