mocks

package
v0.0.0-...-430b584 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUserDBRepo

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

MockUserDBRepo is a mock of UserDBRepo interface

func NewMockUserDBRepo

func NewMockUserDBRepo(ctrl *gomock.Controller) *MockUserDBRepo

NewMockUserDBRepo creates a new mock instance

func (*MockUserDBRepo) EXPECT

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

func (*MockUserDBRepo) Find

func (m *MockUserDBRepo) Find(ID int) (entity.User, error)

Find mocks base method

type MockUserDBRepoMockRecorder

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

MockUserDBRepoMockRecorder is the mock recorder for MockUserDBRepo

func (*MockUserDBRepoMockRecorder) Find

func (mr *MockUserDBRepoMockRecorder) Find(ID interface{}) *gomock.Call

Find indicates an expected call of Find

type MockUserUC

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

MockUserUC is a mock of UserUC interface

func NewMockUserUC

func NewMockUserUC(ctrl *gomock.Controller) *MockUserUC

NewMockUserUC creates a new mock instance

func (*MockUserUC) EXPECT

func (m *MockUserUC) EXPECT() *MockUserUCMockRecorder

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

func (*MockUserUC) GetUser

func (m *MockUserUC) GetUser(ID int) (entity.User, error)

GetUser mocks base method

type MockUserUCMockRecorder

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

MockUserUCMockRecorder is the mock recorder for MockUserUC

func (*MockUserUCMockRecorder) GetUser

func (mr *MockUserUCMockRecorder) GetUser(ID 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