![]() | |
|---|---|
Software: Apache. PHP/5.4.45 uname -a: Linux webm003.cluster110.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue uid=243112(mycochar) gid=100(users) groups=100(users) Safe-mode: OFF (not secure) /home/mycochar/www/image/photo/go/src/cmd/go/testdata/script/ drwxr-xr-x | |
| Viewing file: Select action/file-type: # Regression test for https://go.dev/issue/52331: 'go run -mod=mod'
# failed to write go.mod and go.sum with the resolved dependencies.
[short] skip
! go run main.go
# stderr '^main\.go:6:2: no required module provides package example\.com/version; to add it:\n\tgo get example\.com/version\n\z'
go run -mod=mod main.go
cmp go.mod go.mod.want
grep -count=1 '^example\.com/version v1.1.0 h1:' go.sum
grep -count=1 '^example\.com/version v1.1.0/go.mod h1:' go.sum
-- go.mod --
module example
go 1.17
-- go.mod.want --
module example
go 1.17
require example.com/version v1.1.0 // indirect
-- main.go --
package main
import (
"fmt"
"example.com/version"
)
func main() {
fmt.Println(version.V)
}
|
Useful Commands
|
|
Php Safe-Mode Bypass (Read Files)
|
|
--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0051 ]-- |