Samuel A. Falvo II | 8280cb7 | 2014-01-06 15:06:53 -0800 | [diff] [blame] | 1 | package osutil |
2 | |||||
3 | import "os" | ||||
4 | |||||
5 | // Region provides a means of querying the OS_REGION_NAME environment variable. | ||||
6 | // At present, you may also use os.Getenv("OS_REGION_NAME") as well. | ||||
7 | func Region() string { | ||||
8 | return os.Getenv("OS_REGION_NAME") | ||||
9 | } |