repo_id stringclasses 927
values | file_path stringlengths 99 214 | content stringlengths 2 4.15M |
|---|---|---|
script | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/script/mod_patterns.txt | env GO111MODULE=on
cd m
# 'go list all' should list all of the packages used (directly or indirectly) by
# the packages in the main module, but no other packages from the standard
# library or active modules.
#
# 'go list ...' should list packages in all active modules and the standard library.
# But not cmd/* - see ... |
script | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/script/mod_init_dep.txt | env GO111MODULE=on
# modconv uses git directly to examine what old 'go get' would
[!net] skip
[!exec:git] skip
# go build should populate go.mod from Gopkg.lock
cp go.mod1 go.mod
go build
stderr 'copying requirements from Gopkg.lock'
go list -m all
! stderr 'copying requirements from Gopkg.lock'
stdout 'rsc.io/sample... |
script | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/script/mod_verify.txt | env GO111MODULE=on
# With good go.sum, verify succeeds by avoiding download.
cp go.sum.good go.sum
go mod verify
! exists $GOPATH/pkg/mod/cache/download/rsc.io/quote/@v/v1.1.0.zip
# With bad go.sum, verify succeeds by avoiding download.
cp go.sum.bad go.sum
go mod verify
! exists $GOPATH/pkg/mod/cache/download/rsc.io... |
script | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/script/mod_replace.txt | env GO111MODULE=on
go build -o a1.exe .
exec ./a1.exe
stdout 'Don''t communicate by sharing memory'
# Modules can be replaced by local packages.
go mod edit -replace=rsc.io/quote/v3=./local/rsc.io/quote/v3
go build -o a2.exe .
exec ./a2.exe
stdout 'Concurrency is not parallelism.'
# The module path of the replacemen... |
script | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/script/mod_enabled.txt | # GO111MODULE=auto should only trigger outside GOPATH/src
env GO111MODULE=auto
cd $GOPATH/src/x/y/z
go env GOMOD
! stdout . # no non-empty lines
! go list -m -f {{.GoMod}}
stderr 'not using modules'
cd $GOPATH/src/x/y/z/w
go env GOMOD
! stdout .
cd $GOPATH/src/x/y
go env GOMOD
! stdout .
cd $GOPATH/foo
go env GOMOD... |
script | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/script/mod_bad_filenames.txt | env GO111MODULE=on
! go get rsc.io/badfile1 rsc.io/badfile2 rsc.io/badfile3 rsc.io/badfile4 rsc.io/badfile5
! stderr 'unzip.*badfile1'
stderr 'unzip.*badfile2[\\/]@v[\\/]v1.0.0.zip:.*malformed file path "☺.go": invalid char ''☺'''
stderr 'unzip.*badfile3[\\/]@v[\\/]v1.0.0.zip: malformed file path "x\?y.go": invalid ch... |
script | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/script/mod_query.txt | env GO111MODULE=on
go list -m -versions rsc.io/quote
stdout '^rsc.io/quote v1.0.0 v1.1.0 v1.2.0 v1.2.1 v1.3.0 v1.4.0 v1.5.0 v1.5.1 v1.5.2 v1.5.3-pre1$'
# latest rsc.io/quote should be v1.5.2 not v1.5.3-pre1
go list -m rsc.io/quote@latest
stdout 'rsc.io/quote v1.5.2$'
go list -m rsc.io/quote@>v1.5.2
stdout 'rsc.io/qu... |
script | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/script/mod_import.txt | env GO111MODULE=on
# latest rsc.io/quote should be v1.5.2 not v1.5.3-pre1
go list
go list -m all
stdout 'rsc.io/quote v1.5.2'
# but v1.5.3-pre1 should be a known version
go list -m -versions rsc.io/quote
stdout '^rsc.io/quote v1.0.0 v1.1.0 v1.2.0 v1.2.1 v1.3.0 v1.4.0 v1.5.0 v1.5.1 v1.5.2 v1.5.3-pre1$'
-- go.mod --
m... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/example.com_join_v1.1.0.txt | Written by hand.
Test case for package moved into a parent module.
-- .mod --
module example.com/join
-- .info --
{"Version": "v1.1.0"}
-- subpkg/x.go --
package subpkg
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v3_v3.0.0.txt | rsc.io/quote/v3@v3.0.0
-- .mod --
module rsc.io/quote/v3
require rsc.io/sampler v1.3.0
-- .info --
{"Version":"v3.0.0","Name":"d88915d7e77ed0fd35d0a022a2f244e2202fd8c8","Short":"d88915d7e77e","Time":"2018-07-09T15:34:46Z"}
-- go.mod --
module rsc.io/quote/v3
require rsc.io/sampler v1.3.0
-- quote.go --
// Copyrigh... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/golang.org_notx_useinternal_v0.1.0.txt | written by hand — attempts to use a prohibited internal package
(https://golang.org/s/go14internal)
-- .mod --
module golang.org/notx/useinternal
-- .info --
{"Version":"v0.1.0","Name":"","Short":"","Time":"2018-07-25T17:24:00Z"}
-- go.mod --
module golang.org/notx/useinternal
-- useinternal.go --
package useinternal
... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/golang.org_x_text_v0.0.0-20170915032832-14c0d48ead0c.txt | written by hand - just enough to compile rsc.io/sampler, rsc.io/quote
-- .mod --
module golang.org/x/text
-- .info --
{"Version":"v0.0.0-20170915032832-14c0d48ead0c","Name":"v0.0.0-20170915032832-14c0d48ead0c","Short":"14c0d48ead0c","Time":"2017-09-15T03:28:32Z"}
-- go.mod --
module golang.org/x/text
-- unused/unused.... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.5.0.txt | rsc.io/quote@v1.5.0
-- .mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- .info --
{"Version":"v1.5.0","Name":"3ba1e30dc83bd52c990132b9dfb1688a9d22de13","Short":"3ba1e30dc83b","Time":"2018-02-14T00:58:15Z"}
-- go.mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- quote.go --
// Copyright 2... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/example.com_split_v1.0.0.txt | Written by hand.
Test case for getting a package that has been moved to a different module.
-- .mod --
module example.com/split
-- .info --
{"Version": "v1.0.0"}
-- subpkg/x.go --
package subpkg
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_breaker_v2.0.0.txt | rsc.io/breaker v2.0.0+incompatible
written by hand
-- .mod --
module rsc.io/breaker
-- .info --
{"Version":"v2.0.0+incompatible", "Name": "7307b307f4f0dde421900f8e5126fadac1e13aed", "Short": "7307b307f4f0"}
-- breaker.go --
package breaker
const XX = 2
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_sampler_v1.99.99.txt | rsc.io/sampler@v1.99.99
-- .mod --
module "rsc.io/sampler"
require "golang.org/x/text" v0.0.0-20170915032832-14c0d48ead0c
-- .info --
{"Version":"v1.99.99","Name":"732a3c400797d8835f2af34a9561f155bef85435","Short":"732a3c400797","Time":"2018-02-13T22:20:19Z"}
-- go.mod --
module "rsc.io/sampler"
require "golang.org/... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/research.swtch.com_vgo-tour_v1.0.0.txt | research.swtch.com/vgo-tour@v1.0.0
-- .mod --
module "research.swtch.com/vgo-tour"
-- .info --
{"Version":"v1.0.0","Name":"84de74b35823c1e49634f2262f1a58cfc951ebae","Short":"84de74b35823","Time":"2018-02-20T00:04:00Z"}
-- go.mod --
module "research.swtch.com/vgo-tour"
-- hello.go --
// Copyright 2018 The Go Authors. A... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_badfile2_v1.0.0.txt | rsc.io/badfile1 v1.0.0
written by hand
-- .mod --
module rsc.io/badfile2
-- .info --
{"Version":"v1.0.0"}
-- go.mod --
module rsc.io/badfile2
-- ☺.go --
package smiley
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_!c!g!o_v1.0.0.txt | rsc.io/CGO v1.0.0
-- .mod --
module rsc.io/CGO
-- .info --
{"Version":"v1.0.0","Name":"","Short":"","Time":"2018-08-01T18:23:45Z"}
-- go.mod --
module rsc.io/CGO
-- cgo.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... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.5.2.txt | rsc.io/quote@v1.5.2
-- .mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- .info --
{"Version":"v1.5.2","Name":"c4d4236f92427c64bfbcf1cc3f8142ab18f30b22","Short":"c4d4236f9242","Time":"2018-02-14T15:44:20Z"}
-- buggy/buggy_test.go --
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this s... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.0.0.txt | rsc.io/quote@v1.0.0
-- .mod --
module "rsc.io/quote"
-- .info --
{"Version":"v1.0.0","Name":"f488df80bcdbd3e5bafdc24ad7d1e79e83edd7e6","Short":"f488df80bcdb","Time":"2018-02-14T00:45:20Z"}
-- go.mod --
module "rsc.io/quote"
-- quote.go --
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source cod... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_breaker_v1.0.0.txt | rsc.io/breaker v1.0.0
written by hand
-- .mod --
module rsc.io/breaker
-- .info --
{"Version":"v1.0.0"}
-- breaker.go --
package breaker
const X = 1
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_sampler_v1.3.0.txt | rsc.io/sampler@v1.3.0
-- .mod --
module "rsc.io/sampler"
require "golang.org/x/text" v0.0.0-20170915032832-14c0d48ead0c
-- .info --
{"Version":"v1.3.0","Name":"0cc034b51e57ed7832d4c67d526f75a900996e5c","Short":"0cc034b51e57","Time":"2018-02-13T19:05:03Z"}
-- glass.go --
// Copyright 2018 The Go Authors. All rights re... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/example.com_split_v1.1.0.txt | Written by hand.
Test case for getting a package that has been moved to a different module.
-- .mod --
module example.com/split
require example.com/split/subpkg v1.1.0
-- .info --
{"Version": "v1.1.0"}
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_breaker_v2.0.0+incompatible.txt | rsc.io/breaker v2.0.0+incompatible
written by hand
-- .mod --
module rsc.io/breaker
-- .info --
{"Version":"v2.0.0+incompatible", "Name": "7307b307f4f0dde421900f8e5126fadac1e13aed", "Short": "7307b307f4f0"}
-- breaker.go --
package breaker
const XX = 2
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/example.com_join_v1.0.0.txt | Written by hand.
Test case for package moved into a parent module.
-- .mod --
module example.com/join
-- .info --
{"Version": "v1.0.0"}
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180710144737-5d9f230bcfba.txt | rsc.io/quote@v0.0.0-20180710144737-5d9f230bcfba
-- .mod --
module rsc.io/quote
require (
rsc.io/quote/v3 v3.0.0
rsc.io/sampler v1.3.0
)
-- .info --
{"Version":"v0.0.0-20180710144737-5d9f230bcfba","Name":"5d9f230bcfbae514bb6c2215694c2ce7273fc604","Short":"5d9f230bcfba","Time":"2018-07-10T14:47:37Z"}
-- buggy/buggy_t... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/gopkg.in_dummy.v2-unstable_v2.0.0.txt | gopkg.in/dummy.v2-unstable v2.0.0
written by hand
-- .mod --
module gopkg.in/dummy.v2-unstable
-- .info --
{"Version":"v2.0.0"}
-- dummy.go --
package dummy
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/example.com_split_subpkg_v1.1.0.txt | Written by hand.
Test case for getting a package that has been moved to a different module.
-- .mod --
module example.com/split/subpkg
require example.com/split v1.1.0
-- .info --
{"Version": "v1.1.0"}
-- x.go --
package subpkg
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180214005840-23179ee8a569.txt | rsc.io/quote@v0.0.0-20180214005840-23179ee8a569
-- .mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- .info --
{"Version":"v0.0.0-20180214005840-23179ee8a569","Name":"23179ee8a569bb05d896ae05c6503ec69a19f99f","Short":"23179ee8a569","Time":"2018-02-14T00:58:40Z"}
-- go.mod --
module "rsc.io/quote"
requi... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162918-a91498bed0a7.txt | rsc.io/quote@v0.0.0-20180709162918-a91498bed0a7
-- .mod --
module rsc.io/quote
require rsc.io/sampler v1.3.0
-- .info --
{"Version":"v0.0.0-20180709162918-a91498bed0a7","Name":"a91498bed0a73d4bb9c1fb2597925f7883bc40a7","Short":"a91498bed0a7","Time":"2018-07-09T16:29:18Z"}
-- buggy/buggy_test.go --
// Copyright 2018 T... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_sampler_v1.2.0.txt | rsc.io/sampler@v1.2.0
-- .mod --
module "rsc.io/sampler"
require "golang.org/x/text" v0.0.0-20170915032832-14c0d48ead0c
-- .info --
{"Version":"v1.2.0","Name":"25f24110b153246056eccc14a3a4cd81afaff586","Short":"25f24110b153","Time":"2018-02-13T18:13:45Z"}
-- go.mod --
module "rsc.io/sampler"
require "golang.org/x/te... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v2.0.0.txt | rsc.io/quote@v2.0.0
-- .mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- .info --
{"Version":"v0.0.0-20180709153244-fd906ed3b100","Name":"fd906ed3b100e47181ffa9ec36d82294525c9109","Short":"fd906ed3b100","Time":"2018-07-09T15:32:44Z"}
-- go.mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180214005133-e7a685a342c0.txt | rsc.io/quote@e7a685a342
-- .mod --
module "rsc.io/quote"
-- .info --
{"Version":"v0.0.0-20180214005133-e7a685a342c0","Name":"e7a685a342c001acc3eb7f5eafa82980480042c7","Short":"e7a685a342c0","Time":"2018-02-14T00:51:33Z"}
-- go.mod --
module "rsc.io/quote"
-- quote.go --
// Copyright 2018 The Go Authors. All rights res... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_badfile4_v1.0.0.txt | rsc.io/badfile4 v1.0.0
written by hand
-- .mod --
module rsc.io/badfile4
-- .info --
{"Version":"v1.0.0"}
-- go.mod --
module rsc.io/badfile4
-- x/Y.go --
package x
-- x/y.go --
package x
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_badmod_v1.0.0.txt | rsc.io/badmod v1.0.0
written by hand
-- .mod --
module rsc.io/badmod
hello world
-- .info --
{"Version":"v1.0.0"}
-- x.go --
package x
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.1.0.txt | rsc.io/quote@v1.1.0
-- .mod --
module "rsc.io/quote"
-- .info --
{"Version":"v1.1.0","Name":"cfd7145f43f92a8d56b4a3dd603795a3291381a9","Short":"cfd7145f43f9","Time":"2018-02-14T00:46:44Z"}
-- go.mod --
module "rsc.io/quote"
-- quote.go --
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source cod... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/example.com_join_subpkg_v1.1.0.txt | Written by hand.
Test case for package moved into a parent module.
-- .mod --
module example.com/join/subpkg
require example.com/join v1.1.0
-- .info --
{"Version": "v1.1.0"}
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709153244-fd906ed3b100.txt | rsc.io/quote@v2.0.0
-- .mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- .info --
{"Version":"v0.0.0-20180709153244-fd906ed3b100","Name":"fd906ed3b100e47181ffa9ec36d82294525c9109","Short":"fd906ed3b100","Time":"2018-07-09T15:32:44Z"}
-- go.mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_badfile3_v1.0.0.txt | rsc.io/badfile3 v1.0.0
written by hand
-- .mod --
module rsc.io/badfile3
-- .info --
{"Version":"v1.0.0"}
-- go.mod --
module rsc.io/badfile3
-- x?y.go --
package x
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.3.0.txt | rsc.io/quote@v1.3.0
-- .mod --
module "rsc.io/quote"
-- .info --
{"Version":"v1.3.0","Name":"84de74b35823c1e49634f2262f1a58cfc951ebae","Short":"84de74b35823","Time":"2018-02-14T00:54:53Z"}
-- go.mod --
module "rsc.io/quote"
-- quote.go --
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source cod... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_fortune_v2_v2.0.0.txt | rsc.io/fortune v2.0.0
written by hand
-- .mod --
module rsc.io/fortune/v2
-- .info --
{"Version":"v2.0.0"}
-- fortune.go --
package main
import "rsc.io/quote"
func main() {
println(quote.Hello())
}
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/README | This directory holds Go modules served by a Go module proxy
that runs on localhost during tests, both to make tests avoid
requiring specific network servers and also to make them
significantly faster.
A small go get'able test module can be added here by running
cd cmd/go/testdata
go run addmod.go path@vers
where ... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_!q!u!o!t!e_v1.5.3-!p!r!e.txt | rsc.io/QUOTE v1.5.3-PRE (sigh)
-- .mod --
module rsc.io/QUOTE
require rsc.io/quote v1.5.2
-- .info --
{"Version":"v1.5.3-PRE","Name":"","Short":"","Time":"2018-07-15T16:25:34Z"}
-- go.mod --
module rsc.io/QUOTE
require rsc.io/quote v1.5.2
-- QUOTE/quote.go --
// Copyright 2018 The Go Authors. All rights reserved.
//... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_testonly_v1.0.0.txt | rsc.io/testonly v1.0.0
written by hand
-- .mod --
module rsc.io/testonly
-- .info --
{"Version":"v1.0.0"}
-- testonly.go --
package testonly
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_fortune_v1.0.0.txt | rsc.io/fortune v1.0.0
written by hand
-- .mod --
module rsc.io/fortune
-- .info --
{"Version":"v1.0.0"}
-- fortune.go --
package main
import "rsc.io/quote"
func main() {
println(quote.Hello())
}
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.4.0.txt | rsc.io/quote@v1.4.0
-- .mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.0.0
-- .info --
{"Version":"v1.4.0","Name":"19e8b977bd2f437798c2cc2dcfe8a1c0f169481b","Short":"19e8b977bd2f","Time":"2018-02-14T00:56:05Z"}
-- go.mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.0.0
-- quote.go --
// Copyright 2... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/example.com_join_subpkg_v1.0.0.txt | Written by hand.
Test case for package moved into a parent module.
-- .mod --
module example.com/join/subpkg
-- .info --
{"Version": "v1.0.0"}
-- x.go --
package subpkg
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.2.1.txt | rsc.io/quote@v1.2.1
-- .mod --
module "rsc.io/quote"
-- .info --
{"Version":"v1.2.1","Name":"5c1f03b64ab7aa958798a569a31924655dc41e76","Short":"5c1f03b64ab7","Time":"2018-02-14T00:54:20Z"}
-- go.mod --
module "rsc.io/quote"
-- quote.go --
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source cod... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v2_v2.0.1.txt | rsc.io/quote/v2@v2.0.1
-- .mod --
module rsc.io/quote/v2
require rsc.io/sampler v1.3.0
-- .info --
{"Version":"v2.0.1","Name":"754f68430672776c84704e2d10209a6ec700cd64","Short":"754f68430672","Time":"2018-07-09T16:25:34Z"}
-- go.mod --
module rsc.io/quote/v2
require rsc.io/sampler v1.3.0
-- quote.go --
// Copyright ... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_badfile5_v1.0.0.txt | rsc.io/badfile5 v1.0.0
written by hand
-- .mod --
module rsc.io/badfile5
-- .info --
{"Version":"v1.0.0"}
-- go.mod --
module rsc.io/badfile5
-- x/y/z/w.go --
package z
-- x/Y/zz/ww.go --
package zz
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_sampler_v1.3.1.txt | rsc.io/sampler@v1.3.1
-- .mod --
module "rsc.io/sampler"
require "golang.org/x/text" v0.0.0-20170915032832-14c0d48ead0c
-- .info --
{"Version":"v1.3.1","Name":"f545d0289d06e2add4556ea6a15fc4938014bf87","Short":"f545d0289d06","Time":"2018-02-14T16:34:12Z"}
-- glass.go --
// Copyright 2018 The Go Authors. All rights re... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180628003336-dd9747d19b04.txt | rsc.io/quote@dd9747d
-- .mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- .info --
{"Version":"v0.0.0-20180628003336-dd9747d19b04","Name":"dd9747d19b041365fbddf0399ddba6bff5eb1b3e","Short":"dd9747d19b04","Time":"2018-06-28T00:33:36Z"}
-- buggy/buggy_test.go --
// Copyright 2018 The Go Authors. All righ... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/golang.org_x_internal_v0.1.0.txt | written by hand — loosely derived from golang.org/x/crypto/internal/subtle,
but splitting the internal package across a module boundary
-- .mod --
module golang.org/x/internal
-- .info --
{"Version":"v0.1.0","Name":"","Short":"","Time":"2018-07-25T17:24:00Z"}
-- go.mod --
module golang.org/x/internal
-- subtle/aliasin... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162816-fe488b867524.txt | rsc.io/quote@v0.0.0-20180709162816-fe488b867524
-- .mod --
module rsc.io/quote
require (
rsc.io/quote/v2 v2.0.1
rsc.io/sampler v1.3.0
)
-- .info --
{"Version":"v0.0.0-20180709162816-fe488b867524","Name":"fe488b867524806e861c3f4f43ae6946a42ca3f1","Short":"fe488b867524","Time":"2018-07-09T16:28:16Z"}
-- buggy/buggy_t... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_sampler_v1.0.0.txt | rsc.io/sampler@v1.0.0
-- .mod --
module "rsc.io/sampler"
-- .info --
{"Version":"v1.0.0","Name":"60bef405c52117ad21d2adb10872b95cf17f8fca","Short":"60bef405c521","Time":"2018-02-13T18:05:54Z"}
-- go.mod --
module "rsc.io/sampler"
-- sampler.go --
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this so... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_badfile1_v1.0.0.txt | rsc.io/badfile1 v1.0.0
written by hand
this is part of the badfile test but is a valid zip file.
-- .mod --
module rsc.io/badfile1
-- .info --
{"Version":"v1.0.0"}
-- go.mod --
module rsc.io/badfile1
-- α.go --
package α
-- .gitignore --
-- x/y/z/.gitignore --
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/golang.org_x_useinternal_v0.1.0.txt | written by hand — uses an internal package from another module
(https://golang.org/s/go14internal)
-- .mod --
module golang.org/x/useinternal
-- .info --
{"Version":"v0.1.0","Name":"","Short":"","Time":"2018-07-25T17:24:00Z"}
-- go.mod --
module golang.org/x/useinternal
-- useinternal.go --
package useinternal
import... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.5.3-pre1.txt | rsc.io/quote@v1.5.3-pre1
-- .mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- .info --
{"Version":"v1.5.3-pre1","Name":"2473dfd877c95382420e47686aa9076bf58c79e0","Short":"2473dfd877c9","Time":"2018-06-28T00:32:53Z"}
-- buggy/buggy_test.go --
// Copyright 2018 The Go Authors. All rights reserved.
// Use... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_!q!u!o!t!e_v1.5.2.txt | rsc.io/QUOTE v1.5.2
-- .mod --
module rsc.io/QUOTE
require rsc.io/quote v1.5.2
-- .info --
{"Version":"v1.5.2","Name":"","Short":"","Time":"2018-07-15T16:25:34Z"}
-- go.mod --
module rsc.io/QUOTE
require rsc.io/quote v1.5.2
-- QUOTE/quote.go --
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this so... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709160352-0d003b9c4bfa.txt | rsc.io/quote@v0.0.0-20180709160352-0d003b9c4bfa
-- .mod --
module rsc.io/quote
require rsc.io/sampler v1.3.0
-- .info --
{"Version":"v0.0.0-20180709160352-0d003b9c4bfa","Name":"0d003b9c4bfac881641be8eb1598b782a467a97f","Short":"0d003b9c4bfa","Time":"2018-07-09T16:03:52Z"}
-- buggy/buggy_test.go --
// Copyright 2018 T... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v0.0.0-20180709162749-b44a0b17b2d1.txt | rsc.io/quote@v0.0.0-20180709162749-b44a0b17b2d1
-- .mod --
module rsc.io/quote
require (
rsc.io/quote/v2 v2.0.1
rsc.io/sampler v1.3.0
)
-- .info --
{"Version":"v0.0.0-20180709162749-b44a0b17b2d1","Name":"b44a0b17b2d1fe4c98a8d0e7a68c9bf9e762799a","Short":"b44a0b17b2d1","Time":"2018-07-09T16:27:49Z"}
-- buggy/buggy_t... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/example.com_v1.0.0.txt | Written by hand.
Test case for module at root of domain.
-- .mod --
module example.com
-- .info --
{"Version": "v1.0.0"}
-- x.go --
package x
|
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/golang.org_x_text_v0.3.0.txt | written by hand - just enough to compile rsc.io/sampler, rsc.io/quote
-- .mod --
module golang.org/x/text
-- .info --
{"Version":"v0.3.0","Name":"","Short":"","Time":"2017-09-16T03:28:32Z"}
-- go.mod --
module golang.org/x/text
-- unused/unused.go --
package unused
-- language/lang.go --
// Copyright 2018 The Go Autho... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_sampler_v1.2.1.txt | generated by ./addmod.bash rsc.io/sampler@v1.2.1
-- .mod --
module "rsc.io/sampler"
require "golang.org/x/text" v0.0.0-20170915032832-14c0d48ead0c
-- .info --
{"Version":"v1.2.1","Name":"cac3af4f8a0ab40054fa6f8d423108a63a1255bb","Short":"cac3af4f8a0a","Time":"2018-02-13T18:16:22Z"}EOF
-- hello.go --
// Copyright 2018... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.5.1.txt | rsc.io/quote@23179ee8a569
-- .mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- .info --
{"Version":"v1.5.1","Name":"23179ee8a569bb05d896ae05c6503ec69a19f99f","Short":"23179ee8a569","Time":"2018-02-14T00:58:40Z"}
-- go.mod --
module "rsc.io/quote"
require "rsc.io/sampler" v1.3.0
-- quote.go --
// Copyr... |
mod | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/mod/rsc.io_quote_v1.2.0.txt | rsc.io/quote@v1.2.0
-- .mod --
module "rsc.io/quote"
-- .info --
{"Version":"v1.2.0","Name":"d8a3de91045c932a1c71e545308fe97571d6d65c","Short":"d8a3de91045c","Time":"2018-02-14T00:47:51Z"}
-- go.mod --
module "rsc.io/quote"
-- quote.go --
// Copyright 2018 The Go Authors. All rights reserved.
// Use of this source cod... |
testinternal | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testinternal/p.go | package p
import _ "net/http/internal"
|
local | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/local/hard.go | package main
import "./sub"
func main() {
sub.Hello()
}
|
local | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/local/easy.go | package main
import "./easysub"
func main() {
easysub.Hello()
}
|
sub | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/local/sub/sub.go | package sub
import (
"fmt"
subsub "./sub"
)
func Hello() {
fmt.Println("sub.Hello")
subsub.Hello()
}
|
sub | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/local/sub/sub/subsub.go | package subsub
import "fmt"
func Hello() {
fmt.Println("subsub.Hello")
}
|
easysub | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/local/easysub/easysub.go | package easysub
import "fmt"
func Hello() {
fmt.Println("easysub.Hello")
}
|
easysub | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/local/easysub/main.go | // +build ignore
package main
import "."
func main() {
easysub.Hello()
}
|
testterminal18153 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testterminal18153/terminal_test.go | // Copyright 2016 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 linux
// This test is run by src/cmd/dist/test.go (cmd_go_test_terminal),
// and not by cmd/go's tests. This is because this test requires that
// th... |
failssh | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/failssh/ssh | #!/bin/sh
exit 1
|
x | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testvendor2/vendor/x/x.go | package x
|
p | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testvendor2/src/p/p.go | package p
import "x"
|
norunexample | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/norunexample/example_test.go | package pkg_test
import "os"
func init() {
os.Stdout.Write([]byte("File with non-runnable example was built.\n"))
}
func Example_test() {
// This test will not be run, it has no "Output:" comment.
}
|
norunexample | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/norunexample/test_test.go | package pkg
import (
"os"
"testing"
)
func TestBuilt(t *testing.T) {
os.Stdout.Write([]byte("A normal test was executed.\n"))
}
|
testonly2 | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/testdata/testonly2/t.go | // This package is not a test-only package,
// but it still matches the pattern ./testdata/testonly... when in cmd/go.
package main
func main() {}
|
vet | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/vet/vet.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.
// Package vet implements the ``go vet'' command.
package vet
import (
"cmd/go/internal/base"
"cmd/go/internal/load"
"cmd/go/internal/modload"
"cmd/go/inte... |
vet | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/vet/vetflag.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 vet
import (
"flag"
"fmt"
"os"
"strings"
"cmd/go/internal/base"
"cmd/go/internal/cmdflag"
"cmd/go/internal/str"
"cmd/go/internal/work"
)
cons... |
par | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/par/work_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 par
import (
"sync/atomic"
"testing"
"time"
)
func TestWork(t *testing.T) {
var w Work
const N = 10000
n := int32(0)
w.Add(N)
w.Do(100, func(... |
par | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/par/work.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 par implements parallel execution helpers.
package par
import (
"math/rand"
"sync"
"sync/atomic"
)
// Work manages a set of work items to be exe... |
modfile | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/rule.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 modfile
import (
"bytes"
"errors"
"fmt"
"path/filepath"
"regexp"
"sort"
"strconv"
"strings"
"unicode"
"cmd/go/internal/module"
"cmd/go/inte... |
modfile | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/gopkgin.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.
// TODO: Figure out what gopkg.in should do.
package modfile
import "strings"
// ParseGopkgIn splits gopkg.in import paths into their constituent parts
func ... |
modfile | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/rule_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 modfile
import (
"bytes"
"fmt"
"testing"
)
var addRequireTests = []struct {
in string
path string
vers string
out string
}{
{
`
module ... |
modfile | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/read_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 modfile
import (
"bytes"
"fmt"
"io/ioutil"
"os"
"os/exec"
"path/filepath"
"reflect"
"strings"
"testing"
)
// exists reports whether the named... |
modfile | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/print.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.
// Module file printer.
package modfile
import (
"bytes"
"fmt"
"strings"
)
func Format(f *FileSyntax) []byte {
pr := &printer{}
pr.file(f)
return pr.By... |
modfile | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/read.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.
// Module file parser.
// This is a simplified copy of Google's buildifier parser.
package modfile
import (
"bytes"
"fmt"
"os"
"strconv"
"strings"
"unic... |
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/testdata/replace2.in | module "abc"
replace (
"xyz" v1.2.3 => "/tmp/z"
"xyz" v1.3.4 => "my/xyz" "v1.3.4-me"
xyz "v1.4.5" => "/tmp/my dir"
xyz v1.5.6 => my/xyz v1.5.6
xyz => my/other/xyz v1.5.4
)
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/testdata/comment.in | // comment
module "x" // eol
// mid comment
// comment 2
// comment 2 line 2
module "y" // eoy
// comment 3
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/testdata/replace.golden | module abc
replace xyz v1.2.3 => /tmp/z
replace xyz v1.3.4 => my/xyz v1.3.4-me
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/testdata/replace.in | module "abc"
replace "xyz" v1.2.3 => "/tmp/z"
replace "xyz" v1.3.4 => "my/xyz" v1.3.4-me
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/testdata/module.in | module "abc"
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/testdata/replace2.golden | module abc
replace (
xyz v1.2.3 => /tmp/z
xyz v1.3.4 => my/xyz v1.3.4-me
xyz v1.4.5 => "/tmp/my dir"
xyz v1.5.6 => my/xyz v1.5.6
xyz => my/other/xyz v1.5.4
)
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/testdata/gopkg.in.golden | module x
require (
gopkg.in/mgo.v2 v2.0.0-20160818020120-3f83fa500528
gopkg.in/yaml.v2 v2.2.1
)
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/testdata/rule1.golden | module "x"
module "y"
require "x"
require x
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vgo/vendor/cmd/go/internal/modfile/testdata/block.golden | // comment
x "y" z
// block
block ( // block-eol
// x-before-line
"x" ( y // x-eol
"x1"
"x2"
// line
"x3"
"x4"
"x5"
// y-line
"y" // y-eol
"z" // z-eol
) // block-eol2
block2 (
x
y
z
)
// eof
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.