mock_repo

package
v0.0.0-...-398e551 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_repo is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthRepository

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

MockAuthRepository is a mock of AuthRepository interface.

func NewMockAuthRepository

func NewMockAuthRepository(ctrl *gomock.Controller) *MockAuthRepository

NewMockAuthRepository creates a new mock instance.

func (*MockAuthRepository) Create

func (m *MockAuthRepository) Create(ctx context.Context, req *repo.UserRequest) error

Create mocks base method.

func (*MockAuthRepository) EXPECT

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

func (*MockAuthRepository) Get

Get mocks base method.

type MockAuthRepositoryMockRecorder

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

MockAuthRepositoryMockRecorder is the mock recorder for MockAuthRepository.

func (*MockAuthRepositoryMockRecorder) Create

func (mr *MockAuthRepositoryMockRecorder) Create(ctx, req interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockAuthRepositoryMockRecorder) Get

func (mr *MockAuthRepositoryMockRecorder) Get(ctx, req interface{}) *gomock.Call

Get indicates an expected call of Get.

Jump to

Keyboard shortcuts

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