github.com/yukk001/go1.10.8@v0.0.0-20190813125351-6df2d3982e20/src/cmd/vet/testdata/divergent/buf.go (about)

     1  // Test of examples with divergent packages.
     2  
     3  // Package buf ...
     4  package buf
     5  
     6  // Buf is a ...
     7  type Buf []byte
     8  
     9  // Append ...
    10  func (*Buf) Append([]byte) {}
    11  
    12  func (Buf) Reset() {}
    13  
    14  func (Buf) Len() int { return 0 }
    15  
    16  // DefaultBuf is a ...
    17  var DefaultBuf Buf