mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6d068bc25b
Update golang.org/x/sys to 95c6576299259db960f6c5b9b69ea52422860fce in order to get the unix.Utsname with byte array instead of int8/uint8 members. This allows to use simple byte slice to string conversions instead of using charsToString or its open-coded version. Also see golang/go#20753 for details. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
15 lines
326 B
Go
15 lines
326 B
Go
// Copyright 2014 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build windows
|
|
// +build go1.4
|
|
|
|
package windows
|
|
|
|
import "syscall"
|
|
|
|
func Unsetenv(key string) error {
|
|
// This was added in Go 1.4.
|
|
return syscall.Unsetenv(key)
|
|
}
|