I am developing a Google App Engine Go application and testing it locally. I have variables for the test environment and some variables for the Live App Engine environment. I am wondering if there is some way to determine inside the code in which environment the code is running, and use the correct version of the variable without commenting and uncommenting the code all the time.
source share