DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
OS Process
Set Environment Variable
Set Environment Variable
Post Example
Examples in
Go
Set Environment Variable in Go
by yhuang
Go
os
os.Setenv
package main import ( "os" ) func main() { os.Setenv("FOO", "1") }