env_unset.go 306 B

123456789101112131415
  1. // Copyright 2014 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. // +build go1.4
  5. package unix
  6. import "syscall"
  7. func Unsetenv(key string) error {
  8. // This was added in Go 1.4.
  9. return syscall.Unsetenv(key)
  10. }