Documentation ¶
Overview ¶
Package dao is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSearch ¶
type MockSearch struct {
// contains filtered or unexported fields
}
MockSearch is a mock of Search interface.
func NewMockSearch ¶
func NewMockSearch(ctrl *gomock.Controller) *MockSearch
NewMockSearch creates a new mock instance.
func (*MockSearch) EXPECT ¶
func (m *MockSearch) EXPECT() *MockSearchMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSearch) GetNameByID ¶
func (m *MockSearch) GetNameByID(id int64) (string, error)
GetNameByID mocks base method.
type MockSearchMockRecorder ¶
type MockSearchMockRecorder struct {
// contains filtered or unexported fields
}
MockSearchMockRecorder is the mock recorder for MockSearch.
func (*MockSearchMockRecorder) GetNameByID ¶
func (mr *MockSearchMockRecorder) GetNameByID(id interface{}) *gomock.Call
GetNameByID indicates an expected call of GetNameByID.
Click to show internal directories.
Click to hide internal directories.