github.com/mvdan/interfacer@v0.0.0-20180901003855-c20040233aed/check/testdata/files/noninteresting.go (about) 1 package foo 2 3 type EmptyIface interface{} 4 5 type UninterestingMethods interface { 6 Foo() error 7 bar() int 8 } 9 10 type InterestingUnexported interface { 11 Foo(f string) error 12 bar(f string) int 13 } 14 15 type St struct{} 16 17 func (s St) Foo(f string) {} 18 19 func (s St) nonExported() {} 20 21 func Bar(s St) { 22 s.Foo("") 23 } 24 25 type NonInterestingFunc func() error