File: imp1.go

package info (click to toggle)
golang-github-golang-mock 0.0~git20150821.0.06883d9-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 228 kB
  • ctags: 273
  • sloc: sh: 6; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 417 bytes parent folder | download | duplicates (7)
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)
}