repo_id
stringclasses
927 values
file_path
stringlengths
99
214
content
stringlengths
2
4.15M
go
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/go11.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build go1.1 package Main // Test that go1.1 tag above is included in builds. main.go refers to this definition. const go11tag = true
go
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/go_windows_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package Main import ( "fmt" "internal/testenv" "io/ioutil" "os" "os/exec" "path/filepath" "strings" "testing" ) func TestAbsolutePath(t *testing.T) { ...
go
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/proxy_test.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package Main_test import ( "archive/zip" "bytes" "encoding/json" "flag" "fmt" "io/ioutil" "log" "net" "net/http" "os" "path/filepath" "strings" "s...
go
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/go_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package Main_test import ( "bytes" "debug/elf" "debug/macho" "flag" "fmt" "go/format" "internal/race" "internal/testenv" "io" "io/ioutil" "log" "os...
go
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/script_test.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Script-driven tests. // See testdata/script/README for an overview. package Main_test import ( "bytes" "fmt" "internal/testenv" "io/ioutil" "os" "os/...
go
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/go_unix_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build darwin dragonfly freebsd linux netbsd openbsd solaris package Main_test import ( "os" "syscall" "testing" ) func TestGoBuildUmask(t *testing.T) ...
go
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/main.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:generate ./mkalldocs.sh package Main import ( "flag" "fmt" "log" "os" "path/filepath" "runtime" "strings" "cmd/go/internal/base" "cmd/go/intern...
go
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/note_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package Main_test import ( "go/build" "runtime" "testing" "cmd/internal/buildid" ) func TestNoteReading(t *testing.T) { // cmd/internal/buildid already ...
go
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/vendor_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Tests for vendoring semantics. package Main_test import ( "bytes" "fmt" "internal/testenv" "os" "path/filepath" "regexp" "strings" "testing" ) fun...
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/flag_test.go
package flag_test import ( "flag" "log" "testing" ) var v = flag.Int("v", 0, "v flag") // Run this as go test pkg -v=7 func TestVFlagIsSet(t *testing.T) { if *v != 7 { log.Fatal("v flag not set") } }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/standalone_test.go
package standalone_test import "testing" func Test(t *testing.T) { }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/addmod.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build ignore // Addmod adds a module as a txtar archive to the testdata/mod directory. // // Usage: // // go run addmod.go path@version... // // It should ...
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/standalone_benchmark_test.go
package standalone_benchmark import "testing" func Benchmark(b *testing.B) { }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/vendormod.txt
generated by: go run savedir.go vendormod -- a/foo/AUTHORS.txt -- -- a/foo/CONTRIBUTORS -- -- a/foo/LICENSE -- -- a/foo/PATENTS -- -- a/foo/COPYING -- -- a/foo/COPYLEFT -- -- a/foo/licensed-to-kill -- -- w/LICENSE -- -- x/NOTICE! -- -- x/x2/LICENSE -- -- mypkg/LICENSE.txt -- -- a/foo/bar/b/main.go -- package b -- a/fo...
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/standalone_sub_test.go
package standalone_sub_test import "testing" func Test(t *testing.T) { t.Run("Sub", func(t *testing.T) {}) }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/standalone_main_normal_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package standalone_main_normal_test import "testing" func TestMain(t *testing.T) { }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/example2_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Make sure that go test runs Example_Y before Example_B, preserving source order. package p import "fmt" func Example_Y() { n++ fmt.Println(n) // Output...
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/print_goroot.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "runtime" func main() { println(runtime.GOROOT()) }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/timeoutbench_test.go
package timeoutbench_test import ( "testing" "time" ) func BenchmarkSleep1s(b *testing.B) { time.Sleep(1 * time.Second) }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/standalone_parallel_sub_test.go
package standalone_parallel_sub_test import "testing" func Test(t *testing.T) { ch := make(chan bool, 1) t.Run("Sub", func(t *testing.T) { t.Parallel() <-ch t.Run("Nested", func(t *testing.T) {}) }) // Ensures that Sub will finish after its t.Run call already returned. ch <- true }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/standalone_main_wrong_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package standalone_main_wrong_test import "testing" func TestMain(m *testing.Main) { }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/example1_test.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Make sure that go test runs Example_Z before Example_A, preserving source order. package p import "fmt" var n int func Example_Z() { n++ fmt.Println(n)...
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/standalone_fail_sub_test.go
package standalone_fail_sub_test import "testing" func TestThatFails(t *testing.T) { t.Run("Sub", func(t *testing.T) {}) t.Fail() }
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/dep_test.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package deps import _ "testing"
testdata
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/savedir.go
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build ignore // Savedir archives a directory tree as a txtar archive printed to standard output. // // Usage: // // go run savedir.go /path/to/dir >saved.t...
math
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/shadow/root1/src/math/math.go
package math
foo
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/shadow/root1/src/foo/foo.go
package foo
foo
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/shadow/root2/src/foo/foo.go
package foo
p
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testvendor/src/p/p.go
package p import ( _ "q/y" _ "q/z" )
x
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testvendor/src/q/vendor/x/x.go
package x
y
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testvendor/src/q/y/y.go
package y import _ "x"
z
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testvendor/src/q/z/z.go
package z import _ "q/vendor/x"
testonly
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testonly/p_test.go
package p
importcom
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/bad.go
package p import "bad"
importcom
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/works.go
package p import _ "works/x"
importcom
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/wrongplace.go
package p import "wrongplace"
importcom
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/conflict.go
package p import "conflict"
bad
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/src/bad/bad.go
package bad // import
wrongplace
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/src/wrongplace/x.go
package x // import "my/x"
conflict
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/src/conflict/a.go
package conflict // import "a"
conflict
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/src/conflict/b.go
package conflict /* import "b" */
x
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/src/works/x/x.go
package x // import "works/x"
x
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcom/src/works/x/x1.go
package x // important! not an import comment
badmod
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/badmod/x.go
package x import _ "appengine" import _ "nonexistent.rsc.io" // domain does not exist
badmod
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/badmod/go.mod
module m
testinternal3
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testinternal3/t.go
package t import _ "internal/does-not-exist"
selfimport
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/importcycle/src/selfimport/selfimport.go
package selfimport import "selfimport"
generate
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/generate/test3.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test go generate variable substitution. //go:generate echo $GOARCH $GOFILE:$GOLINE ${GOPACKAGE}abc xyz$GOPACKAGE/$GOFILE/123 package p
generate
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/generate/test1.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Simple test for go generate. // We include a build tag that go generate should ignore. // +build ignore //go:generate echo Success package p
generate
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/generate/test4.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test -run flag //go:generate echo oh yes my man //go:generate echo no, no, a thousand times no package p
generate
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/generate/test2.go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that go generate handles command aliases. //go:generate -command run echo Now is the time //go:generate run for all good men package p
src
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/failfast_test.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package failfast import "testing" func TestA(t *testing.T) { // Edge-case testing, mixing unparallel tests too t.Logf("LOG: %s", t.Name()) } func TestFaili...
coverasm
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/coverasm/p.go
package p func f() func g() { println("g") }
coverasm
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/coverasm/p_test.go
package p import "testing" func Test(t *testing.T) { g() }
coverasm
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/coverasm/p.s
// empty asm file, // so go test doesn't complain about declaration of f in p.go.
multimain
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/multimain/multimain_test.go
package multimain_test import "testing" func TestMain(m *testing.M) { // Some users run m.Run multiple times, changing // some kind of global state between runs. // This used to work so I guess now it has to keep working. // See golang.org/issue/23129. m.Run() m.Run() } func Test(t *testing.T) { t.Log("notwit...
cgocover4
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/cgocover4/p.go
package p /* void f(void) { } */ import "C" var b bool func F() { if b { for { } } C.f() }
cgocover4
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/cgocover4/notcgo.go
package p
cgocover4
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/cgocover4/x_test.go
package p_test import ( . "cgocover4" "testing" ) func TestF(t *testing.T) { F() }
b
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/canonical/b/b.go
package b import _ "canonical/a/"
d
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/canonical/d/d.go
package d import _ "canonical/b"
a
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/canonical/a/a.go
package a import _ "c"
c
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/canonical/a/vendor/c/c.go
package c
badc
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/badc/x.go
package badc
badc
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/badc/x.c
// C code!
main_test
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/main_test/m.go
package main func F() {} func main() {}
main_test
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/main_test/m_test.go
package main_test import ( . "main_test" "testing" ) func Test1(t *testing.T) { F() }
benchfatal
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/benchfatal/x_test.go
package benchfatal import "testing" func BenchmarkThatCallsFatal(b *testing.B) { b.Fatal("called by benchmark") }
vetcycle
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vetcycle/p.go
package p type ( _ interface{ m(B1) } A1 interface{ a(D1) } B1 interface{ A1 } C1 interface { B1 /* ERROR issue #18395 */ } D1 interface{ C1 } ) var _ A1 = C1 /* ERROR cannot use C1 */ (nil)
go-cmd-test
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/go-cmd-test/helloworld.go
package main func main() { println("hello world") }
cgoasm
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/cgoasm/p.go
package p /* // hi */ import "C" func F() {}
cgoasm
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/cgoasm/p.s
TEXT asm(SB),$0 RET
sleepy1
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/sleepy1/p_test.go
package p import ( "testing" "time" ) func Test1(t *testing.T) { time.Sleep(200 * time.Millisecond) }
testrace
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/testrace/race_test.go
package testrace import "testing" func TestRace(t *testing.T) { for i := 0; i < 10; i++ { c := make(chan int) x := 1 go func() { x = 2 c <- 1 }() x = 3 <-c _ = x } } func BenchmarkRace(b *testing.B) { for i := 0; i < b.N; i++ { c := make(chan int) x := 1 go func() { x = 2 c <- 1 ...
my.pkg
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/my.pkg/pkg.go
package pkg var Text = "unset"
main
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/my.pkg/main/main.go
package main import "my.pkg" func main() { println(pkg.Text) }
coverdot1
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/coverdot1/p.go
package coverdot1 func F() {}
dupload
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/dupload/dupload.go
package main import ( _ "dupload/p2" _ "p" ) func main() {}
p
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/dupload/p/p.go
package p
p
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/dupload/vendor/p/p.go
package p
p2
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/dupload/p2/p2.go
package p2 import _ "dupload/vendor/p"
vend
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/bad.go
package vend import _ "r"
vend
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/good.go
package vend import _ "p"
dir1
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/dir1/dir1.go
package dir1
p
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/vendor/p/p.go
package p
dir2
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/vendor/vend/dir1/dir2/dir2.go
package dir2
q
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/vendor/q/q.go
package q
strings
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/vendor/strings/msg.go
package strings var Msg = "hello, world"
subdir
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/subdir/bad.go
package subdir import _ "r"
subdir
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/subdir/good.go
package subdir import _ "p"
x
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/x/x.go
package x import _ "p" import _ "q" import _ "r" import _ "vend/dir1" // not vendored import _ "vend/dir1/dir2" // vendored
r
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/x/vendor/r/r.go
package r
p
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/x/vendor/p/p.go
package p
p
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/x/vendor/p/p/p.go
package p import _ "notfound"
invalid
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/x/invalid/invalid.go
package invalid import "vend/x/invalid/vendor/foo"
hello
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/hello/hello.go
package main import ( "fmt" "strings" // really ../vendor/strings ) func main() { fmt.Printf("%s\n", strings.Msg) }
hello
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/hello/hellox_test.go
package main_test import ( "strings" // really ../vendor/strings "testing" ) func TestMsgExternal(t *testing.T) { if strings.Msg != "hello, world" { t.Fatalf("unexpected msg: %v", strings.Msg) } }
hello
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/vend/hello/hello_test.go
package main import ( "strings" // really ../vendor/strings "testing" ) func TestMsgInternal(t *testing.T) { if strings.Msg != "hello, world" { t.Fatalf("unexpected msg: %v", strings.Msg) } }
gencycle
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/gencycle/gencycle.go
//go:generate echo hello world package gencycle import _ "gencycle"
xtestonly
/home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/src/xtestonly/f.go
package xtestonly func F() int { return 42 }