mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-09-07 20:28:20 +02:00
16 lines
327 B
Go
16 lines
327 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)
|
||
|
}
|