libgo: update to Go 1.11
[official-gcc.git] / libgo / go / cmd / go / testdata / mod / rsc.io_sampler_v1.0.0.txt
blobc4b6a71c88c405e927490bcfd356304bab1e2c1d
1 rsc.io/sampler@v1.0.0
3 -- .mod --
4 module "rsc.io/sampler"
5 -- .info --
6 {"Version":"v1.0.0","Name":"60bef405c52117ad21d2adb10872b95cf17f8fca","Short":"60bef405c521","Time":"2018-02-13T18:05:54Z"}
7 -- go.mod --
8 module "rsc.io/sampler"
9 -- sampler.go --
10 // Copyright 2018 The Go Authors. All rights reserved.
11 // Use of this source code is governed by a BSD-style
12 // license that can be found in the LICENSE file.
14 // Package sampler shows simple texts.
15 package sampler // import "rsc.io/sampler"
17 // Hello returns a greeting.
18 func Hello() string {
19         return "Hello, world."