aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/os/env.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/env.go')
-rw-r--r--src/os/env.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/env.go b/src/os/env.go
index eac3072ac..585650e79 100644
--- a/src/os/env.go
+++ b/src/os/env.go
@@ -12,3 +12,7 @@ func Getenv(key string) string {
func LookupEnv(key string) (string, bool) {
return syscall.Getenv(key)
}
+
+func Environ() []string {
+ return syscall.Environ()
+}