package imp1

import "github.com/golang/mock/sample/imp1"

Index

Types

type ForeignEmbedded

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)
}

type Imp1

type Imp1 struct{}

type ImpT

type ImpT int

Source Files

imp1.go

Version
v1.6.0 (latest)
Published
Jun 11, 2021
Platform
linux/amd64
Imports
1 packages
Last checked
5 days ago

Tools for package owners.