github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/oracle/testdata/src/lib/lib.go (about) 1 package lib 2 3 type Type int 4 5 func (Type) Method(x *int) *int { 6 return x 7 } 8 9 func Func() { 10 } 11 12 const Const = 3 13 14 var Var = 0 15 16 type Sorter interface { 17 Len() int 18 Less(i, j int) bool 19 Swap(i, j int) 20 }