119
120
// Get mocks base method.
121
>
func (m *MockClient) Get(ctx context.Context, index, docID string) (*elastic.GetResult, error) {
client_mock.go
122
>
m.ctrl.T.Helper()
123
>
ret := m.ctrl.Call(m, "Get", ctx, index, docID)
124
>
ret0, _ := ret[0].(*elastic.GetResult)
125
>
ret1, _ := ret[1].(error)
126
>
return ret0, ret1
127
>
}
128
129
// Get indicates an expected call of Get.
130
>
func (mr *MockClientMockRecorder) Get(ctx, index, docID any) *gomock.Call {
client_mock.go
131
>
mr.mock.ctrl.T.Helper()
132
>
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockClient)(nil).Get), ctx, index, docID)
133
>
}
134
135
// GetMapping mocks base method.