Created
August 5, 2015 07:41
-
-
Save 178inaba/21dc8443397e22a43043 to your computer and use it in GitHub Desktop.
getenv to home from go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"os" | |
) | |
func main() { | |
fmt.Println(os.Getenv("HOME")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment