403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.216.36
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/go-1.22/src/cmd/go/testdata/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/go-1.22/src/cmd/go/testdata/script/mod_get_deprecate_install.txt
[short] skip

env GO111MODULE=on

# 'go get' outside a module prints an error.
! go get example.com/cmd/a
stderr '^go: go.mod file not found in current directory or any parent directory.$'
stderr '^\t''go get'' is no longer supported outside a module.$'

cp go.mod.orig go.mod

# 'go get' inside a module with a non-main package does not print a message.
# This will stop building in the future, but it's the command we want to use.
go get rsc.io/quote
! stderr deprecated
! stderr 'no longer installs'
cp go.mod.orig go.mod

# 'go get' inside a module with an executable does not print a message.
# In 1.16 and 1.17, 'go get' did print a message in this case suggesting the
# use of -d. In 1.18, -d is a no-op, and we'd like to begin discouraging
# its use.
go get example.com/cmd/a
! stderr deprecated
! stderr 'no longer installs'
cp go.mod.orig go.mod

# 'go get' should not print a warning for a main package inside the main module.
# The intent is most likely to update the dependencies of that package.
# 'go install' would be used otherwise.
go get m
! stderr .
cp go.mod.orig go.mod

-- go.mod.orig --
module m

go 1.17
-- main.go --
package main

func main() {}

Youez - 2016 - github.com/yon3zu
LinuXploit