mock_msgcat

package
v0.0.0-...-82dbb06 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_msgcat is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMessageCatalog

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

MockMessageCatalog is a mock of MessageCatalog interface

func NewMockMessageCatalog

func NewMockMessageCatalog(ctrl *gomock.Controller) *MockMessageCatalog

NewMockMessageCatalog creates a new mock instance

func (*MockMessageCatalog) EXPECT

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

func (*MockMessageCatalog) GetErrorWithCtx

func (m *MockMessageCatalog) GetErrorWithCtx(ctx context.Context, msgCode int, msgParams ...interface{}) error

GetErrorWithCtx mocks base method

func (*MockMessageCatalog) GetMessageWithCtx

func (m *MockMessageCatalog) GetMessageWithCtx(ctx context.Context, msgCode int, msgParams ...interface{}) *msgcat.Message

GetMessageWithCtx mocks base method

func (*MockMessageCatalog) LoadMessages

func (m *MockMessageCatalog) LoadMessages(lang string, messages []msgcat.RawMessage) error

LoadMessages mocks base method

func (*MockMessageCatalog) WrapErrorWithCtx

func (m *MockMessageCatalog) WrapErrorWithCtx(ctx context.Context, err error, msgCode int, msgParams ...interface{}) error

WrapErrorWithCtx mocks base method

type MockMessageCatalogMockRecorder

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

MockMessageCatalogMockRecorder is the mock recorder for MockMessageCatalog

func (*MockMessageCatalogMockRecorder) GetErrorWithCtx

func (mr *MockMessageCatalogMockRecorder) GetErrorWithCtx(ctx, msgCode interface{}, msgParams ...interface{}) *gomock.Call

GetErrorWithCtx indicates an expected call of GetErrorWithCtx

func (*MockMessageCatalogMockRecorder) GetMessageWithCtx

func (mr *MockMessageCatalogMockRecorder) GetMessageWithCtx(ctx, msgCode interface{}, msgParams ...interface{}) *gomock.Call

GetMessageWithCtx indicates an expected call of GetMessageWithCtx

func (*MockMessageCatalogMockRecorder) LoadMessages

func (mr *MockMessageCatalogMockRecorder) LoadMessages(lang, messages interface{}) *gomock.Call

LoadMessages indicates an expected call of LoadMessages

func (*MockMessageCatalogMockRecorder) WrapErrorWithCtx

func (mr *MockMessageCatalogMockRecorder) WrapErrorWithCtx(ctx, err, msgCode interface{}, msgParams ...interface{}) *gomock.Call

WrapErrorWithCtx indicates an expected call of WrapErrorWithCtx

Jump to

Keyboard shortcuts

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