github.com/endocode/docker@v1.4.2-0.20160113120958-46eb4700391e/pkg/plugins/pluginrpc-gen/fixtures/foo.go (about) 1 package foo 2 3 type wobble struct { 4 Some string 5 Val string 6 Inception *wobble 7 } 8 9 // Fooer is an empty interface used for tests. 10 type Fooer interface{} 11 12 // Fooer2 is an interface used for tests. 13 type Fooer2 interface { 14 Foo() 15 } 16 17 // Fooer3 is an interface used for tests. 18 type Fooer3 interface { 19 Foo() 20 Bar(a string) 21 Baz(a string) (err error) 22 Qux(a, b string) (val string, err error) 23 Wobble() (w *wobble) 24 Wiggle() (w wobble) 25 } 26 27 // Fooer4 is an interface used for tests. 28 type Fooer4 interface { 29 Foo() error 30 } 31 32 // Bar is an interface used for tests. 33 type Bar interface { 34 Boo(a string, b string) (s string, err error) 35 } 36 37 // Fooer5 is an interface used for tests. 38 type Fooer5 interface { 39 Foo() 40 Bar 41 }