internal/proxy/testdata: add rsc.io/quote

Change-Id: I7fce0b0af32b6a714e7fd2254c995a8a0169cf01
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/314530
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
This commit is contained in:
Julie Qiu 2021-04-27 21:11:11 -04:00
Родитель 0ebe34c7d8
Коммит cbfb973078
6 изменённых файлов: 156 добавлений и 0 удалений

14
internal/proxy/testdata/quote@v1.0.0.txtar поставляемый Normal file
Просмотреть файл

@ -0,0 +1,14 @@
-- go.mod --
module rsc.io/quote
-- LICENSE --
$MITLicense
-- quote.go --
// Package quote collects pithy sayings.
package quote // import "rsc.io/quote"
// Hello returns a greeting.
func Hello() string {
return "Hello, world."
}

20
internal/proxy/testdata/quote@v1.1.0.txtar поставляемый Normal file
Просмотреть файл

@ -0,0 +1,20 @@
-- go.mod --
module rsc.io/quote
-- LICENSE --
$MITLicense
-- quote.go --
// Package quote collects pithy sayings.
package quote // import "rsc.io/quote"
// Hello returns a greeting.
func Hello() string {
return "Hello, world."
}
// Glass returns a useful phrase for world travelers.
func Glass() string {
// See http://www.oocities.org/nodotus/hbglass.html.
return "I can eat glass and it doesn't hurt me."
}

25
internal/proxy/testdata/quote@v1.2.0.txtar поставляемый Normal file
Просмотреть файл

@ -0,0 +1,25 @@
-- go.mod --
module rsc.io/quote
-- LICENSE --
$MITLicense
-- quote.go --
// Package quote collects pithy sayings.
package quote // import "rsc.io/quote"
// Hello returns a greeting.
func Hello() string {
return "Hello, world."
}
// Glass returns a useful phrase for world travelers.
func Glass() string {
// See http://www.oocities.org/nodotus/hbglass.html.
return "I can eat glass and it doesn't hurt me."
}
// Go returns a Go proverb.
func Go() string {
return "Don't communicate by sharing memory, share memory by communicating."
}

31
internal/proxy/testdata/quote@v1.3.0.txtar поставляемый Normal file
Просмотреть файл

@ -0,0 +1,31 @@
-- go.mod --
module rsc.io/quote
-- LICENSE --
$MITLicense
-- quote.go --
// Package quote collects pithy sayings.
package quote // import "rsc.io/quote"
// Hello returns a greeting.
func Hello() string {
return "Hello, world."
}
// Glass returns a useful phrase for world travelers.
func Glass() string {
// See http://www.oocities.org/nodotus/hbglass.html.
return "I can eat glass and it doesn't hurt me."
}
// Go returns a Go proverb.
func Go() string {
return "Don't communicate by sharing memory, share memory by communicating."
}
// Opt returns an optimization truth.
func Opt() string {
// Wisdom from ken.
return "If a program is too slow, it must have a loop."
}

33
internal/proxy/testdata/quote@v1.4.0.txtar поставляемый Normal file
Просмотреть файл

@ -0,0 +1,33 @@
-- go.mod --
module rsc.io/quote
-- LICENSE --
$MITLicense
-- quote.go --
// Package quote collects pithy sayings.
package quote // import "rsc.io/quote"
import "rsc.io/sampler"
// Hello returns a greeting.
func Hello() string {
return sampler.Hello()
}
// Glass returns a useful phrase for world travelers.
func Glass() string {
// See http://www.oocities.org/nodotus/hbglass.html.
return "I can eat glass and it doesn't hurt me."
}
// Go returns a Go proverb.
func Go() string {
return "Don't communicate by sharing memory, share memory by communicating."
}
// Opt returns an optimization truth.
func Opt() string {
// Wisdom from ken.
return "If a program is too slow, it must have a loop."
}

33
internal/proxy/testdata/quote@v1.5.0.txtar поставляемый Normal file
Просмотреть файл

@ -0,0 +1,33 @@
-- go.mod --
module rsc.io/quote
-- LICENSE --
$MITLicense
-- quote.go --
// Package quote collects pithy sayings.
package quote // import "rsc.io/quote"
import "rsc.io/sampler"
// Hello returns a greeting.
func Hello() string {
return sampler.Hello()
}
// Glass returns a useful phrase for world travelers.
func Glass() string {
// See http://www.oocities.org/nodotus/hbglass.html.
return "I can eat glass and it doesn't hurt me."
}
// Go returns a Go proverb.
func Go() string {
return "Don't communicate by sharing memory, share memory by communicating."
}
// Opt returns an optimization truth.
func Opt() string {
// Wisdom from ken.
return "If a program is too slow, it must have a loop."
}