generate plugin clients via template

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
Brian Goff 2015-06-08 11:33:06 -04:00
parent 6c2626b90e
commit f666eef0d4
5 changed files with 553 additions and 0 deletions

View file

@ -0,0 +1,35 @@
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
}