LittleDemon WebShell


Linux in-mum-web1499.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
Path : /opt/golang/1.22.0/src/cmd/go/testdata/script/
File Upload :
Command :
Current File : //opt/golang/1.22.0/src/cmd/go/testdata/script/mod_indirect_nospace.txt

# https://golang.org/issue/45932: "indirect" comments missing spaces
# should not be corrupted when the comment is removed.

go mod tidy
cmp go.mod go.mod.direct

-- go.mod --
module example.net/m

go 1.16

require example.net/x v0.1.0 //indirect

replace example.net/x v0.1.0 => ./x
-- go.mod.direct --
module example.net/m

go 1.16

require example.net/x v0.1.0

replace example.net/x v0.1.0 => ./x
-- m.go --
package m
import _ "example.net/x"

-- x/go.mod --
module example.net/x

go 1.16
-- x/x.go --
package x

LittleDemon - FACEBOOK
[ KELUAR ]