daomock

package
v0.0.0-...-fe7ef4e Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package daomock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommentDAO

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

MockCommentDAO is a mock of CommentDAO interface.

func NewMockCommentDAO

func NewMockCommentDAO(ctrl *gomock.Controller) *MockCommentDAO

NewMockCommentDAO creates a new mock instance.

func (*MockCommentDAO) Create

func (m *MockCommentDAO) Create(arg0 context.Context, arg1 *dao.Comment) (uuid.UUID, error)

Create mocks base method.

func (*MockCommentDAO) Delete

func (m *MockCommentDAO) Delete(arg0 context.Context, arg1 uuid.UUID) error

Delete mocks base method.

func (*MockCommentDAO) DeleteByVideoID

func (m *MockCommentDAO) DeleteByVideoID(arg0 context.Context, arg1 string) error

DeleteByVideoID mocks base method.

func (*MockCommentDAO) EXPECT

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

func (*MockCommentDAO) ListByVideoID

func (m *MockCommentDAO) ListByVideoID(arg0 context.Context, arg1 string, arg2, arg3 int) ([]*dao.Comment, error)

ListByVideoID mocks base method.

func (*MockCommentDAO) Update

func (m *MockCommentDAO) Update(arg0 context.Context, arg1 *dao.Comment) error

Update mocks base method.

type MockCommentDAOMockRecorder

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

MockCommentDAOMockRecorder is the mock recorder for MockCommentDAO.

func (*MockCommentDAOMockRecorder) Create

func (mr *MockCommentDAOMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockCommentDAOMockRecorder) Delete

func (mr *MockCommentDAOMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockCommentDAOMockRecorder) DeleteByVideoID

func (mr *MockCommentDAOMockRecorder) DeleteByVideoID(arg0, arg1 interface{}) *gomock.Call

DeleteByVideoID indicates an expected call of DeleteByVideoID.

func (*MockCommentDAOMockRecorder) ListByVideoID

func (mr *MockCommentDAOMockRecorder) ListByVideoID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ListByVideoID indicates an expected call of ListByVideoID.

func (*MockCommentDAOMockRecorder) Update

func (mr *MockCommentDAOMockRecorder) Update(arg0, arg1 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