Text file src/cmd/go/testdata/mod/rsc.io_sampler_v1.0.0.txt

     1  rsc.io/sampler@v1.0.0
     2  
     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.
    13  
    14  // Package sampler shows simple texts.
    15  package sampler // import "rsc.io/sampler"
    16  
    17  // Hello returns a greeting.
    18  func Hello() string {
    19  	return "Hello, world."
    20  }
    21  

View as plain text