Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

30 righe
553 B

  1. // Copyright 2010 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // Windows environment variables.
  5. package windows
  6. import "syscall"
  7. func Getenv(key string) (value string, found bool) {
  8. return syscall.Getenv(key)
  9. }
  10. func Setenv(key, value string) error {
  11. return syscall.Setenv(key, value)
  12. }
  13. func Clearenv() {
  14. syscall.Clearenv()
  15. }
  16. func Environ() []string {
  17. return syscall.Environ()
  18. }
  19. func Unsetenv(key string) error {
  20. return syscall.Unsetenv(key)
  21. }