blob: 912f5278cb0d7d95553455eb5ff7f886cbd1cc88 [file] [log] [blame]
-- 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."
}