Documentation ¶
Overview ¶
Package mock_sample is a generated GoMock package.
Index ¶
- type MockEmbed
- type MockEmbedMockRecorder
- type MockEmbedded
- type MockEmbeddedMockRecorder
- type MockIndex
- func (m *MockIndex) Anon(arg0 string)
- func (m *MockIndex) Chan(arg0 chan int, arg1 chan<- hash.Hash)
- func (m *MockIndex) ConcreteRet() chan<- bool
- func (m *MockIndex) EXPECT() *MockIndexMockRecorder
- func (m *MockIndex) Ellip(arg0 string, arg1 ...interface{})
- func (m *MockIndex) EllipOnly(arg0 ...string)
- func (m *MockIndex) ForeignFour(arg0 imp4.Imp4)
- func (m *MockIndex) ForeignOne(arg0 imp1.Imp1)
- func (m *MockIndex) ForeignThree(arg0 imp3.Imp3)
- func (m *MockIndex) ForeignTwo(arg0 imp2.Imp2)
- func (m *MockIndex) Func(arg0 func(http.Request) (int, bool))
- func (m *MockIndex) Get(arg0 string) interface{}
- func (m *MockIndex) GetTwo(arg0, arg1 string) (interface{}, interface{})
- func (m *MockIndex) Map(arg0 map[int]hash.Hash)
- func (m *MockIndex) NillableRet() error
- func (m *MockIndex) Other() hash.Hash
- func (m *MockIndex) Ptr(arg0 *int)
- func (m *MockIndex) Put(arg0 string, arg1 interface{})
- func (m *MockIndex) Slice(arg0 []int, arg1 []byte) [3]int
- func (m *MockIndex) Struct(arg0 struct{})
- func (m *MockIndex) StructChan(arg0 chan struct{})
- func (m *MockIndex) Summary(arg0 *bytes.Buffer, arg1 io.Writer)
- func (m *MockIndex) Templates(arg0 template.CSS, arg1 template0.FuncMap)
- type MockIndexMockRecorder
- func (mr *MockIndexMockRecorder) Anon(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Chan(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) ConcreteRet() *gomock.Call
- func (mr *MockIndexMockRecorder) Ellip(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) EllipOnly(arg0 ...interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) ForeignFour(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) ForeignOne(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) ForeignThree(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) ForeignTwo(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Func(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) GetTwo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Map(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) NillableRet() *gomock.Call
- func (mr *MockIndexMockRecorder) Other() *gomock.Call
- func (mr *MockIndexMockRecorder) Ptr(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Slice(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Struct(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) StructChan(arg0 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Summary(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIndexMockRecorder) Templates(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEmbed ¶
type MockEmbed struct {
// contains filtered or unexported fields
}
MockEmbed is a mock of Embed interface
func NewMockEmbed ¶
func NewMockEmbed(ctrl *gomock.Controller) *MockEmbed
NewMockEmbed creates a new mock instance
func (*MockEmbed) EXPECT ¶
func (m *MockEmbed) EXPECT() *MockEmbedMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEmbed) EmbeddedMethod ¶
func (m *MockEmbed) EmbeddedMethod()
EmbeddedMethod mocks base method
func (*MockEmbed) ForeignEmbeddedMethod ¶
ForeignEmbeddedMethod mocks base method
func (*MockEmbed) ImplicitPackage ¶
func (m *MockEmbed) ImplicitPackage(arg0 string, arg1 imp1.ImpT, arg2 []imp1.ImpT, arg3 *imp1.ImpT, arg4 chan imp1.ImpT)
ImplicitPackage mocks base method
func (*MockEmbed) RegularMethod ¶
func (m *MockEmbed) RegularMethod()
RegularMethod mocks base method
type MockEmbedMockRecorder ¶
type MockEmbedMockRecorder struct {
// contains filtered or unexported fields
}
MockEmbedMockRecorder is the mock recorder for MockEmbed
func (*MockEmbedMockRecorder) EmbeddedMethod ¶
func (mr *MockEmbedMockRecorder) EmbeddedMethod() *gomock.Call
EmbeddedMethod indicates an expected call of EmbeddedMethod
func (*MockEmbedMockRecorder) ForeignEmbeddedMethod ¶
func (mr *MockEmbedMockRecorder) ForeignEmbeddedMethod() *gomock.Call
ForeignEmbeddedMethod indicates an expected call of ForeignEmbeddedMethod
func (*MockEmbedMockRecorder) ImplicitPackage ¶
func (mr *MockEmbedMockRecorder) ImplicitPackage(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
ImplicitPackage indicates an expected call of ImplicitPackage
func (*MockEmbedMockRecorder) RegularMethod ¶
func (mr *MockEmbedMockRecorder) RegularMethod() *gomock.Call
RegularMethod indicates an expected call of RegularMethod
type MockEmbedded ¶
type MockEmbedded struct {
// contains filtered or unexported fields
}
MockEmbedded is a mock of Embedded interface
func NewMockEmbedded ¶
func NewMockEmbedded(ctrl *gomock.Controller) *MockEmbedded
NewMockEmbedded creates a new mock instance
func (*MockEmbedded) EXPECT ¶
func (m *MockEmbedded) EXPECT() *MockEmbeddedMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEmbedded) EmbeddedMethod ¶
func (m *MockEmbedded) EmbeddedMethod()
EmbeddedMethod mocks base method
type MockEmbeddedMockRecorder ¶
type MockEmbeddedMockRecorder struct {
// contains filtered or unexported fields
}
MockEmbeddedMockRecorder is the mock recorder for MockEmbedded
func (*MockEmbeddedMockRecorder) EmbeddedMethod ¶
func (mr *MockEmbeddedMockRecorder) EmbeddedMethod() *gomock.Call
EmbeddedMethod indicates an expected call of EmbeddedMethod
type MockIndex ¶
type MockIndex struct {
// contains filtered or unexported fields
}
MockIndex is a mock of Index interface
func NewMockIndex ¶
func NewMockIndex(ctrl *gomock.Controller) *MockIndex
NewMockIndex creates a new mock instance
func (*MockIndex) ConcreteRet ¶
ConcreteRet mocks base method
func (*MockIndex) EXPECT ¶
func (m *MockIndex) EXPECT() *MockIndexMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIndex) ForeignFour ¶
ForeignFour mocks base method
func (*MockIndex) ForeignOne ¶
ForeignOne mocks base method
func (*MockIndex) ForeignThree ¶
ForeignThree mocks base method
func (*MockIndex) ForeignTwo ¶
ForeignTwo mocks base method
func (*MockIndex) NillableRet ¶
NillableRet mocks base method
func (*MockIndex) StructChan ¶
func (m *MockIndex) StructChan(arg0 chan struct{})
StructChan mocks base method
type MockIndexMockRecorder ¶
type MockIndexMockRecorder struct {
// contains filtered or unexported fields
}
MockIndexMockRecorder is the mock recorder for MockIndex
func (*MockIndexMockRecorder) Anon ¶
func (mr *MockIndexMockRecorder) Anon(arg0 interface{}) *gomock.Call
Anon indicates an expected call of Anon
func (*MockIndexMockRecorder) Chan ¶
func (mr *MockIndexMockRecorder) Chan(arg0, arg1 interface{}) *gomock.Call
Chan indicates an expected call of Chan
func (*MockIndexMockRecorder) ConcreteRet ¶
func (mr *MockIndexMockRecorder) ConcreteRet() *gomock.Call
ConcreteRet indicates an expected call of ConcreteRet
func (*MockIndexMockRecorder) Ellip ¶
func (mr *MockIndexMockRecorder) Ellip(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Ellip indicates an expected call of Ellip
func (*MockIndexMockRecorder) EllipOnly ¶
func (mr *MockIndexMockRecorder) EllipOnly(arg0 ...interface{}) *gomock.Call
EllipOnly indicates an expected call of EllipOnly
func (*MockIndexMockRecorder) ForeignFour ¶
func (mr *MockIndexMockRecorder) ForeignFour(arg0 interface{}) *gomock.Call
ForeignFour indicates an expected call of ForeignFour
func (*MockIndexMockRecorder) ForeignOne ¶
func (mr *MockIndexMockRecorder) ForeignOne(arg0 interface{}) *gomock.Call
ForeignOne indicates an expected call of ForeignOne
func (*MockIndexMockRecorder) ForeignThree ¶
func (mr *MockIndexMockRecorder) ForeignThree(arg0 interface{}) *gomock.Call
ForeignThree indicates an expected call of ForeignThree
func (*MockIndexMockRecorder) ForeignTwo ¶
func (mr *MockIndexMockRecorder) ForeignTwo(arg0 interface{}) *gomock.Call
ForeignTwo indicates an expected call of ForeignTwo
func (*MockIndexMockRecorder) Func ¶
func (mr *MockIndexMockRecorder) Func(arg0 interface{}) *gomock.Call
Func indicates an expected call of Func
func (*MockIndexMockRecorder) Get ¶
func (mr *MockIndexMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockIndexMockRecorder) GetTwo ¶
func (mr *MockIndexMockRecorder) GetTwo(arg0, arg1 interface{}) *gomock.Call
GetTwo indicates an expected call of GetTwo
func (*MockIndexMockRecorder) Map ¶
func (mr *MockIndexMockRecorder) Map(arg0 interface{}) *gomock.Call
Map indicates an expected call of Map
func (*MockIndexMockRecorder) NillableRet ¶
func (mr *MockIndexMockRecorder) NillableRet() *gomock.Call
NillableRet indicates an expected call of NillableRet
func (*MockIndexMockRecorder) Other ¶
func (mr *MockIndexMockRecorder) Other() *gomock.Call
Other indicates an expected call of Other
func (*MockIndexMockRecorder) Ptr ¶
func (mr *MockIndexMockRecorder) Ptr(arg0 interface{}) *gomock.Call
Ptr indicates an expected call of Ptr
func (*MockIndexMockRecorder) Put ¶
func (mr *MockIndexMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockIndexMockRecorder) Slice ¶
func (mr *MockIndexMockRecorder) Slice(arg0, arg1 interface{}) *gomock.Call
Slice indicates an expected call of Slice
func (*MockIndexMockRecorder) Struct ¶
func (mr *MockIndexMockRecorder) Struct(arg0 interface{}) *gomock.Call
Struct indicates an expected call of Struct
func (*MockIndexMockRecorder) StructChan ¶
func (mr *MockIndexMockRecorder) StructChan(arg0 interface{}) *gomock.Call
StructChan indicates an expected call of StructChan
func (*MockIndexMockRecorder) Summary ¶
func (mr *MockIndexMockRecorder) Summary(arg0, arg1 interface{}) *gomock.Call
Summary indicates an expected call of Summary
func (*MockIndexMockRecorder) Templates ¶
func (mr *MockIndexMockRecorder) Templates(arg0, arg1 interface{}) *gomock.Call
Templates indicates an expected call of Templates