Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockContacts
- func (m *MockContacts) CreateContact(arg0 *contacts.ContactInfo) (*contacts.ContactInfo, error)
- func (m *MockContacts) DeleteContact(arg0 int64) error
- func (m *MockContacts) EXPECT() *MockContactsMockRecorder
- func (m *MockContacts) GetContact(arg0 int64) (*contacts.ContactInfo, error)
- func (m *MockContacts) GetContacts() ([]*contacts.ContactInfo, error)
- func (m *MockContacts) UpdateContact(arg0 *contacts.ContactUpdate) (*contacts.ContactInfo, error)
- type MockContactsMockRecorder
- func (mr *MockContactsMockRecorder) CreateContact(arg0 interface{}) *gomock.Call
- func (mr *MockContactsMockRecorder) DeleteContact(arg0 interface{}) *gomock.Call
- func (mr *MockContactsMockRecorder) GetContact(arg0 interface{}) *gomock.Call
- func (mr *MockContactsMockRecorder) GetContacts() *gomock.Call
- func (mr *MockContactsMockRecorder) UpdateContact(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockContacts) EXPECT() *MockContactsMockRecorder
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.