mock_repo

package
v0.0.0-...-52b9301 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 3 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 MockStudentRepo

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

MockStudentRepo is a mock of StudentRepo interface.

func NewMockStudentRepo

func NewMockStudentRepo(ctrl *gomock.Controller) *MockStudentRepo

NewMockStudentRepo creates a new mock instance.

func (*MockStudentRepo) EXPECT

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

func (*MockStudentRepo) FindOne

func (m *MockStudentRepo) FindOne(gsheet string, row int) (*repo.Student, error)

FindOne mocks base method.

func (*MockStudentRepo) Update

func (m *MockStudentRepo) Update(gsheet string, row int, student *repo.Student) error

Update mocks base method.

type MockStudentRepoMockRecorder

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

MockStudentRepoMockRecorder is the mock recorder for MockStudentRepo.

func (*MockStudentRepoMockRecorder) FindOne

func (mr *MockStudentRepoMockRecorder) FindOne(gsheet, row interface{}) *gomock.Call

FindOne indicates an expected call of FindOne.

func (*MockStudentRepoMockRecorder) Update

func (mr *MockStudentRepoMockRecorder) Update(gsheet, row, student interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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