blob: af33537ac9f070eb32787e9eba71885a510af674 [file] [log] [blame]
-- go.mod --
module rsc.io/quote/v3
-- LICENSE --
$MITLicense
-- quote.go --
// Package quote collects pithy sayings.
package quote // import "rsc.io/quote"
import "rsc.io/sampler"
// Hello returns a greeting.
func HelloV3() string {
return sampler.Hello()
}
// Concurrency returns a Go proverb about concurrency.
func Concurrency() string {
return "Concurrency is not parallelism."
}
// Glass returns a useful phrase for world travelers.
func GlassV3() 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 GoV3() string {
return "Don't communicate by sharing memory, share memory by communicating."
}
// Opt returns an optimization truth.
func OptV3() string {
// Wisdom from ken.
return "If a program is too slow, it must have a loop."
}