mock_usecases

package
v0.0.0-...-095c751 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_usecases is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProfileStorageInterface

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

MockProfileStorageInterface is a mock of ProfileStorageInterface interface.

func NewMockProfileStorageInterface

func NewMockProfileStorageInterface(ctrl *gomock.Controller) *MockProfileStorageInterface

NewMockProfileStorageInterface creates a new mock instance.

func (*MockProfileStorageInterface) CreateProfile

func (m *MockProfileStorageInterface) CreateProfile(ctx context.Context, userID uint) *models.Profile

CreateProfile mocks base method.

func (*MockProfileStorageInterface) EXPECT

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

func (*MockProfileStorageInterface) GetProfileByUserID

func (m *MockProfileStorageInterface) GetProfileByUserID(ctx context.Context, userID uint) (*models.Profile, error)

GetProfileByUserID mocks base method.

func (*MockProfileStorageInterface) SetProfileCity

func (m *MockProfileStorageInterface) SetProfileCity(ctx context.Context, userID uint, data models.City) (*models.Profile, error)

SetProfileCity mocks base method.

func (*MockProfileStorageInterface) SetProfileInfo

SetProfileInfo mocks base method.

func (*MockProfileStorageInterface) SetProfilePhone

func (m *MockProfileStorageInterface) SetProfilePhone(ctx context.Context, userID uint, data models.SetProfilePhoneNec) (*models.Profile, error)

SetProfilePhone mocks base method.

type MockProfileStorageInterfaceMockRecorder

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

MockProfileStorageInterfaceMockRecorder is the mock recorder for MockProfileStorageInterface.

func (*MockProfileStorageInterfaceMockRecorder) CreateProfile

func (mr *MockProfileStorageInterfaceMockRecorder) CreateProfile(ctx, userID interface{}) *gomock.Call

CreateProfile indicates an expected call of CreateProfile.

func (*MockProfileStorageInterfaceMockRecorder) GetProfileByUserID

func (mr *MockProfileStorageInterfaceMockRecorder) GetProfileByUserID(ctx, userID interface{}) *gomock.Call

GetProfileByUserID indicates an expected call of GetProfileByUserID.

func (*MockProfileStorageInterfaceMockRecorder) SetProfileCity

func (mr *MockProfileStorageInterfaceMockRecorder) SetProfileCity(ctx, userID, data interface{}) *gomock.Call

SetProfileCity indicates an expected call of SetProfileCity.

func (*MockProfileStorageInterfaceMockRecorder) SetProfileInfo

func (mr *MockProfileStorageInterfaceMockRecorder) SetProfileInfo(ctx, userID, file, data interface{}) *gomock.Call

SetProfileInfo indicates an expected call of SetProfileInfo.

func (*MockProfileStorageInterfaceMockRecorder) SetProfilePhone

func (mr *MockProfileStorageInterfaceMockRecorder) SetProfilePhone(ctx, userID, data interface{}) *gomock.Call

SetProfilePhone indicates an expected call of SetProfilePhone.

Jump to

Keyboard shortcuts

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