golang.org/x/tools@v0.21.1-0.20240520172518-788d39e776b1/internal/imports/testdata/mod/rsc.io_quote_v3_v3.0.0.txt (about) 1 rsc.io/quote/v3@v3.0.0 2 3 -- .mod -- 4 module rsc.io/quote/v3 5 6 require rsc.io/sampler v1.3.0 7 8 -- .info -- 9 {"Version":"v3.0.0","Name":"d88915d7e77ed0fd35d0a022a2f244e2202fd8c8","Short":"d88915d7e77e","Time":"2018-07-09T15:34:46Z"} 10 -- go.mod -- 11 module rsc.io/quote/v3 12 13 require rsc.io/sampler v1.3.0 14 15 -- quote.go -- 16 // Copyright 2018 The Go Authors. All rights reserved. 17 // Use of this source code is governed by a BSD-style 18 // license that can be found in the LICENSE file. 19 20 // Package quote collects pithy sayings. 21 package quote // import "rsc.io/quote" 22 23 import "rsc.io/sampler" 24 25 // Hello returns a greeting. 26 func HelloV3() string { 27 return sampler.Hello() 28 } 29 30 // Glass returns a useful phrase for world travelers. 31 func GlassV3() string { 32 // See http://www.oocities.org/nodotus/hbglass.html. 33 return "I can eat glass and it doesn't hurt me." 34 } 35 36 // Go returns a Go proverb. 37 func GoV3() string { 38 return "Don't communicate by sharing memory, share memory by communicating." 39 } 40 41 // Opt returns an optimization truth. 42 func OptV3() string { 43 // Wisdom from ken. 44 return "If a program is too slow, it must have a loop." 45 }