summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/mock/sample/imp1/imp1.go
blob: ef9d01449ea2e179858a9a9310b8c668b98565e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package imp1

import "bufio"

type Imp1 struct{}

type ImpT int

type ForeignEmbedded interface {
	// The return value here also makes sure that
	// the generated mock picks up the "bufio" import.
	ForeignEmbeddedMethod() *bufio.Reader

	// This method uses a type in this package,
	// which should be qualified when this interface is embedded.
	ImplicitPackage(s string, t ImpT, st []ImpT, pt *ImpT, ct chan ImpT)
}