Source File
env_posix.go
Belonging Package
runtime
func (, string) bool {
if GOOS == "windows" { // case insensitive
for := 0; < len(); ++ {
, := [], []
if == || lowerASCII() == lowerASCII() {
continue
}
return false
}
return true
}
return ==
}
func ( byte) byte {
if 'A' <= && <= 'Z' {
return + ('a' - 'A')
}
return
}
var _cgo_setenv unsafe.Pointer // pointer to C function
var _cgo_unsetenv unsafe.Pointer // pointer to C function
func ( string, string) {
if _cgo_setenv == nil {
return
}
:= [2]unsafe.Pointer{cstring(), cstring()}
asmcgocall(_cgo_setenv, unsafe.Pointer(&))
}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |