mock_example

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_example is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockUserRepo

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

MockUserRepo is a mock of UserRepo interface

func NewMockUserRepo

func NewMockUserRepo(ctrl *gomock.Controller) *MockUserRepo

NewMockUserRepo creates a new mock instance

func (*MockUserRepo) EXPECT

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

func (*MockUserRepo) Save

func (m *MockUserRepo) Save(arg0 context.Context, arg1 *_example.User) error

Save mocks base method

type MockUserRepoMockRecorder

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

MockUserRepoMockRecorder is the mock recorder for MockUserRepo

func (*MockUserRepoMockRecorder) Save

func (mr *MockUserRepoMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call

Save indicates an expected call of Save

Jump to

Keyboard shortcuts

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