...
Source file src/cmd/vendor/golang.org/x/sys/windows/env_windows.go
1
2
3
4
5
6
7 package windows
8
9 import "syscall"
10
11 func Getenv(key string) (value string, found bool) {
12 return syscall.Getenv(key)
13 }
14
15 func Setenv(key, value string) error {
16 return syscall.Setenv(key, value)
17 }
18
19 func Clearenv() {
20 syscall.Clearenv()
21 }
22
23 func Environ() []string {
24 return syscall.Environ()
25 }
26
27 func Unsetenv(key string) error {
28 return syscall.Unsetenv(key)
29 }
30
View as plain text