Documentation ¶
Overview ¶
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.
Index ¶
- type MockDictionaryService
- func (m *MockDictionaryService) EXPECT() *MockDictionaryServiceMockRecorder
- func (m *MockDictionaryService) GetDetail(arg0 context.Context, arg1 string, arg2 int) (string, error)
- func (m *MockDictionaryService) GetDictionary(arg0 context.Context, arg1 string) ([]models.Word, error)
- func (m *MockDictionaryService) GetITJapanWonderWork(arg0 context.Context, arg1 string) ([][]models.WonderWord, error)
- type MockDictionaryServiceMockRecorder
- type MockTranslateService
- type MockTranslateServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDictionaryService ¶
type MockDictionaryService struct {
// contains filtered or unexported fields
}
MockDictionaryService is a mock of DictionaryService interface.
func NewMockDictionaryService ¶
func NewMockDictionaryService(ctrl *gomock.Controller) *MockDictionaryService
NewMockDictionaryService creates a new mock instance.
func (*MockDictionaryService) EXPECT ¶
func (m *MockDictionaryService) EXPECT() *MockDictionaryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDictionaryService) GetDetail ¶
func (m *MockDictionaryService) GetDetail(arg0 context.Context, arg1 string, arg2 int) (string, error)
GetDetail mocks base method.
func (*MockDictionaryService) GetDictionary ¶
func (m *MockDictionaryService) GetDictionary(arg0 context.Context, arg1 string) ([]models.Word, error)
GetDictionary mocks base method.
func (*MockDictionaryService) GetITJapanWonderWork ¶
func (m *MockDictionaryService) GetITJapanWonderWork(arg0 context.Context, arg1 string) ([][]models.WonderWord, error)
GetITJapanWonderWork mocks base method.
type MockDictionaryServiceMockRecorder ¶
type MockDictionaryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDictionaryServiceMockRecorder is the mock recorder for MockDictionaryService.
func (*MockDictionaryServiceMockRecorder) GetDetail ¶
func (mr *MockDictionaryServiceMockRecorder) GetDetail(arg0, arg1, arg2 interface{}) *gomock.Call
GetDetail indicates an expected call of GetDetail.
func (*MockDictionaryServiceMockRecorder) GetDictionary ¶
func (mr *MockDictionaryServiceMockRecorder) GetDictionary(arg0, arg1 interface{}) *gomock.Call
GetDictionary indicates an expected call of GetDictionary.
func (*MockDictionaryServiceMockRecorder) GetITJapanWonderWork ¶
func (mr *MockDictionaryServiceMockRecorder) GetITJapanWonderWork(arg0, arg1 interface{}) *gomock.Call
GetITJapanWonderWork indicates an expected call of GetITJapanWonderWork.
type MockTranslateService ¶
type MockTranslateService struct {
// contains filtered or unexported fields
}
MockTranslateService is a mock of TranslateService interface.
func NewMockTranslateService ¶
func NewMockTranslateService(ctrl *gomock.Controller) *MockTranslateService
NewMockTranslateService creates a new mock instance.
func (*MockTranslateService) EXPECT ¶
func (m *MockTranslateService) EXPECT() *MockTranslateServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTranslateService) TranslateData ¶
func (m *MockTranslateService) TranslateData(arg0 context.Context, arg1 []services.TransData) []services.TransData
TranslateData mocks base method.
type MockTranslateServiceMockRecorder ¶
type MockTranslateServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTranslateServiceMockRecorder is the mock recorder for MockTranslateService.
func (*MockTranslateServiceMockRecorder) TranslateData ¶
func (mr *MockTranslateServiceMockRecorder) TranslateData(arg0, arg1 interface{}) *gomock.Call
TranslateData indicates an expected call of TranslateData.