repository

package
v0.0.0-...-7e06a17 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package repository is a generated GoMock package.

Package repository is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMaponRepository

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

MockMaponRepository is a mock of MaponRepository interface.

func NewMockMaponRepository

func NewMockMaponRepository(ctrl *gomock.Controller) *MockMaponRepository

NewMockMaponRepository creates a new mock instance.

func (*MockMaponRepository) EXPECT

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

func (*MockMaponRepository) GetInfo

func (m *MockMaponRepository) GetInfo(ctx context.Context, from, till time.Time) ([]*model.MaponRoute, error)

GetInfo mocks base method.

type MockMaponRepositoryMockRecorder

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

MockMaponRepositoryMockRecorder is the mock recorder for MockMaponRepository.

func (*MockMaponRepositoryMockRecorder) GetInfo

func (mr *MockMaponRepositoryMockRecorder) GetInfo(ctx, from, till interface{}) *gomock.Call

GetInfo indicates an expected call of GetInfo.

type MockUserRepository

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

MockUserRepository is a mock of UserRepository interface.

func NewMockUserRepository

func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository

NewMockUserRepository creates a new mock instance.

func (*MockUserRepository) CreateUser

func (m *MockUserRepository) CreateUser(ctx context.Context, user *model.User) error

CreateUser mocks base method.

func (*MockUserRepository) EXPECT

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

func (*MockUserRepository) GetUser

func (m *MockUserRepository) GetUser(ctx context.Context, email string) (*model.User, error)

GetUser mocks base method.

type MockUserRepositoryMockRecorder

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

MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository.

func (*MockUserRepositoryMockRecorder) CreateUser

func (mr *MockUserRepositoryMockRecorder) CreateUser(ctx, user interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockUserRepositoryMockRecorder) GetUser

func (mr *MockUserRepositoryMockRecorder) GetUser(ctx, email interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

Jump to

Keyboard shortcuts

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