mock

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContacts

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

MockContacts is a mock of Contacts interface.

func NewMockContacts

func NewMockContacts(ctrl *gomock.Controller) *MockContacts

NewMockContacts creates a new mock instance.

func (*MockContacts) CreateContact

func (m *MockContacts) CreateContact(arg0 *contacts.ContactInfo) (*contacts.ContactInfo, error)

CreateContact mocks base method.

func (*MockContacts) DeleteContact

func (m *MockContacts) DeleteContact(arg0 int64) error

DeleteContact mocks base method.

func (*MockContacts) EXPECT

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

func (*MockContacts) GetContact

func (m *MockContacts) GetContact(arg0 int64) (*contacts.ContactInfo, error)

GetContact mocks base method.

func (*MockContacts) GetContacts

func (m *MockContacts) GetContacts() ([]*contacts.ContactInfo, error)

GetContacts mocks base method.

func (*MockContacts) UpdateContact

func (m *MockContacts) UpdateContact(arg0 *contacts.ContactUpdate) (*contacts.ContactInfo, error)

UpdateContact mocks base method.

type MockContactsMockRecorder

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

MockContactsMockRecorder is the mock recorder for MockContacts.

func (*MockContactsMockRecorder) CreateContact

func (mr *MockContactsMockRecorder) CreateContact(arg0 interface{}) *gomock.Call

CreateContact indicates an expected call of CreateContact.

func (*MockContactsMockRecorder) DeleteContact

func (mr *MockContactsMockRecorder) DeleteContact(arg0 interface{}) *gomock.Call

DeleteContact indicates an expected call of DeleteContact.

func (*MockContactsMockRecorder) GetContact

func (mr *MockContactsMockRecorder) GetContact(arg0 interface{}) *gomock.Call

GetContact indicates an expected call of GetContact.

func (*MockContactsMockRecorder) GetContacts

func (mr *MockContactsMockRecorder) GetContacts() *gomock.Call

GetContacts indicates an expected call of GetContacts.

func (*MockContactsMockRecorder) UpdateContact

func (mr *MockContactsMockRecorder) UpdateContact(arg0 interface{}) *gomock.Call

UpdateContact indicates an expected call of UpdateContact.

Jump to

Keyboard shortcuts

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