mocks

package
v0.0.0-...-84e3b64 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 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 MockMarkRepo

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

MockMarkRepo is a mock of MarkRepo interface

func NewMockMarkRepo

func NewMockMarkRepo(ctrl *gomock.Controller) *MockMarkRepo

NewMockMarkRepo creates a new mock instance

func (*MockMarkRepo) Create

func (m *MockMarkRepo) Create(arg0 *app.Mark) (*app.Mark, error)

Create mocks base method

func (*MockMarkRepo) DeleteAll

func (m *MockMarkRepo) DeleteAll() error

DeleteAll mocks base method

func (*MockMarkRepo) DeleteByID

func (m *MockMarkRepo) DeleteByID(arg0 string) (bool, error)

DeleteByID mocks base method

func (*MockMarkRepo) EXPECT

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

func (*MockMarkRepo) FindAll

func (m *MockMarkRepo) FindAll() ([]app.Mark, error)

FindAll mocks base method

func (*MockMarkRepo) FindAllByUserID

func (m *MockMarkRepo) FindAllByUserID(arg0 string) ([]app.Mark, error)

FindAllByUserID mocks base method

func (*MockMarkRepo) FindByID

func (m *MockMarkRepo) FindByID(arg0 string) (*app.Mark, error)

FindByID mocks base method

func (*MockMarkRepo) Update

func (m *MockMarkRepo) Update(arg0 *app.Mark) error

Update mocks base method

type MockMarkRepoMockRecorder

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

MockMarkRepoMockRecorder is the mock recorder for MockMarkRepo

func (*MockMarkRepoMockRecorder) Create

func (mr *MockMarkRepoMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockMarkRepoMockRecorder) DeleteAll

func (mr *MockMarkRepoMockRecorder) DeleteAll() *gomock.Call

DeleteAll indicates an expected call of DeleteAll

func (*MockMarkRepoMockRecorder) DeleteByID

func (mr *MockMarkRepoMockRecorder) DeleteByID(arg0 interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID

func (*MockMarkRepoMockRecorder) FindAll

func (mr *MockMarkRepoMockRecorder) FindAll() *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockMarkRepoMockRecorder) FindAllByUserID

func (mr *MockMarkRepoMockRecorder) FindAllByUserID(arg0 interface{}) *gomock.Call

FindAllByUserID indicates an expected call of FindAllByUserID

func (*MockMarkRepoMockRecorder) FindByID

func (mr *MockMarkRepoMockRecorder) FindByID(arg0 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockMarkRepoMockRecorder) Update

func (mr *MockMarkRepoMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

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) Create

func (m *MockUserRepo) Create(arg0 *app.User) (*app.User, error)

Create mocks base method

func (*MockUserRepo) DeleteAll

func (m *MockUserRepo) DeleteAll() error

DeleteAll mocks base method

func (*MockUserRepo) DeleteByEmail

func (m *MockUserRepo) DeleteByEmail(arg0 string) (bool, error)

DeleteByEmail mocks base method

func (*MockUserRepo) DeleteByID

func (m *MockUserRepo) DeleteByID(arg0 string) (bool, error)

DeleteByID mocks base method

func (*MockUserRepo) EXPECT

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

func (*MockUserRepo) FindAll

func (m *MockUserRepo) FindAll() ([]app.User, error)

FindAll mocks base method

func (*MockUserRepo) FindByEmail

func (m *MockUserRepo) FindByEmail(arg0 string) (*app.User, error)

FindByEmail mocks base method

func (*MockUserRepo) FindByID

func (m *MockUserRepo) FindByID(arg0 string) (*app.User, error)

FindByID mocks base method

func (*MockUserRepo) Update

func (m *MockUserRepo) Update(arg0 *app.User) error

Update mocks base method

type MockUserRepoMockRecorder

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

MockUserRepoMockRecorder is the mock recorder for MockUserRepo

func (*MockUserRepoMockRecorder) Create

func (mr *MockUserRepoMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockUserRepoMockRecorder) DeleteAll

func (mr *MockUserRepoMockRecorder) DeleteAll() *gomock.Call

DeleteAll indicates an expected call of DeleteAll

func (*MockUserRepoMockRecorder) DeleteByEmail

func (mr *MockUserRepoMockRecorder) DeleteByEmail(arg0 interface{}) *gomock.Call

DeleteByEmail indicates an expected call of DeleteByEmail

func (*MockUserRepoMockRecorder) DeleteByID

func (mr *MockUserRepoMockRecorder) DeleteByID(arg0 interface{}) *gomock.Call

DeleteByID indicates an expected call of DeleteByID

func (*MockUserRepoMockRecorder) FindAll

func (mr *MockUserRepoMockRecorder) FindAll() *gomock.Call

FindAll indicates an expected call of FindAll

func (*MockUserRepoMockRecorder) FindByEmail

func (mr *MockUserRepoMockRecorder) FindByEmail(arg0 interface{}) *gomock.Call

FindByEmail indicates an expected call of FindByEmail

func (*MockUserRepoMockRecorder) FindByID

func (mr *MockUserRepoMockRecorder) FindByID(arg0 interface{}) *gomock.Call

FindByID indicates an expected call of FindByID

func (*MockUserRepoMockRecorder) Update

func (mr *MockUserRepoMockRecorder) Update(arg0 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