2015-06-08 15:33:06 +00:00
|
|
|
package foo
|
|
|
|
|
|
|
|
type wobble struct {
|
|
|
|
Some string
|
|
|
|
Val string
|
|
|
|
Inception *wobble
|
|
|
|
}
|
|
|
|
|
2015-09-04 12:55:56 +00:00
|
|
|
// Fooer is an empty interface used for tests.
|
2015-06-08 15:33:06 +00:00
|
|
|
type Fooer interface{}
|
|
|
|
|
2015-09-04 12:55:56 +00:00
|
|
|
// Fooer2 is an interface used for tests.
|
2015-06-08 15:33:06 +00:00
|
|
|
type Fooer2 interface {
|
|
|
|
Foo()
|
|
|
|
}
|
|
|
|
|
2015-09-04 12:55:56 +00:00
|
|
|
// Fooer3 is an interface used for tests.
|
2015-06-08 15:33:06 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2015-09-04 12:55:56 +00:00
|
|
|
// Fooer4 is an interface used for tests.
|
2015-06-08 15:33:06 +00:00
|
|
|
type Fooer4 interface {
|
|
|
|
Foo() error
|
|
|
|
}
|
|
|
|
|
2015-09-04 12:55:56 +00:00
|
|
|
// Bar is an interface used for tests.
|
2015-06-08 15:33:06 +00:00
|
|
|
type Bar interface {
|
|
|
|
Boo(a string, b string) (s string, err error)
|
|
|
|
}
|
|
|
|
|
2015-09-04 12:55:56 +00:00
|
|
|
// Fooer5 is an interface used for tests.
|
2015-06-08 15:33:06 +00:00
|
|
|
type Fooer5 interface {
|
|
|
|
Foo()
|
|
|
|
Bar
|
|
|
|
}
|