Created
January 21, 2018 19:31
-
-
Save picatz/c9790933b7d6ca2f2507d9e619cc7116 to your computer and use it in GitHub Desktop.
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
func EnviromentPaths() []string { | |
val, ok := os.LookupEnv("PATH") | |
if !ok { | |
return []string{} | |
} | |
return strings.Split(val, ":") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment