golang 读系统环境变量

http://studygolang.com/articles/3387

1
2
os.Setenv("FOO", "1")
fmt.Println("FOO:", os.Getenv("FOO"))