mock_services

package
v0.0.0-...-a590297 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Package mock_services is a generated GoMock package.

Index

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL