github.com/wulonghui/docker@v1.8.0-rc2/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  type Fooer interface{}
    10  
    11  type Fooer2 interface {
    12  	Foo()
    13  }
    14  
    15  type Fooer3 interface {
    16  	Foo()
    17  	Bar(a string)
    18  	Baz(a string) (err error)
    19  	Qux(a, b string) (val string, err error)
    20  	Wobble() (w *wobble)
    21  	Wiggle() (w wobble)
    22  }
    23  
    24  type Fooer4 interface {
    25  	Foo() error
    26  }
    27  
    28  type Bar interface {
    29  	Boo(a string, b string) (s string, err error)
    30  }
    31  
    32  type Fooer5 interface {
    33  	Foo()
    34  	Bar
    35  }