enivroment got go code example
Example: golang set env var
// set env var "FOO" to value "1"
os.Setenv("FOO", "1")
// will print "FOO: 1"
fmt.Println("FOO:", os.Getenv("FOO"))
// set env var "FOO" to value "1"
os.Setenv("FOO", "1")
// will print "FOO: 1"
fmt.Println("FOO:", os.Getenv("FOO"))