mock_repository

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTranslator added in v0.4.3

type MockTranslator struct {
	// contains filtered or unexported fields
}

MockTranslator is a mock of Translator interface.

func NewMockTranslator added in v0.4.3

func NewMockTranslator(ctrl *gomock.Controller) *MockTranslator

NewMockTranslator creates a new mock instance.

func (*MockTranslator) EXPECT added in v0.4.3

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTranslator) TranslateText added in v0.4.3

func (m *MockTranslator) TranslateText(text, sourceLang, targetLang string) (*model.TranslateText, error)

TranslateText mocks base method.

type MockTranslatorMockRecorder added in v0.4.3

type MockTranslatorMockRecorder struct {
	// contains filtered or unexported fields
}

MockTranslatorMockRecorder is the mock recorder for MockTranslator.

func (*MockTranslatorMockRecorder) TranslateText added in v0.4.3

func (mr *MockTranslatorMockRecorder) TranslateText(text, sourceLang, targetLang interface{}) *gomock.Call

TranslateText indicates an expected call of TranslateText.

Jump to

Keyboard shortcuts

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