Files
docker-cli/components/engine/pkg/plugins/pluginrpc-gen/fixtures/foo.go
Brian Goff 14ac6cb710 generate plugin clients via template
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 4c81c9dddc5e3996bf5a4fc7017b9d4a81e6fd46
Component: engine
2015-06-10 11:41:40 -04:00

36 lines
460 B
Go

package foo
type wobble struct {
Some string
Val string
Inception *wobble
}
type Fooer interface{}
type Fooer2 interface {
Foo()
}
type Fooer3 interface {
Foo()
Bar(a string)
Baz(a string) (err error)
Qux(a, b string) (val string, err error)
Wobble() (w *wobble)
Wiggle() (w wobble)
}
type Fooer4 interface {
Foo() error
}
type Bar interface {
Boo(a string, b string) (s string, err error)
}
type Fooer5 interface {
Foo()
Bar
}