mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
18 lines
417 B
Go
18 lines
417 B
Go
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)
|
|
}
|