github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/talks/2014/readability/long-line-fold.go (about) 1 // +build OMIT 2 3 package sampling 4 5 import ( 6 servicepb "foo/bar/service_proto" 7 ) 8 9 type SamplingServer struct { 10 // some fields 11 } 12 13 func (server *SamplingServer) SampleMetrics( // HL 14 sampleRequest *servicepb.Request, sampleResponse *servicepb.Response, // HL 15 latency time.Duration) { // HL 16 // some code 17 }