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 MockVideoDAO

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

MockVideoDAO is a mock of VideoDAO interface.

func NewMockVideoDAO

func NewMockVideoDAO(ctrl *gomock.Controller) *MockVideoDAO

NewMockVideoDAO creates a new mock instance.

func (*MockVideoDAO) Create

func (m *MockVideoDAO) Create(arg0 context.Context, arg1 *dao.Video) error

Create mocks base method.

func (*MockVideoDAO) Delete

func (m *MockVideoDAO) Delete(arg0 context.Context, arg1 primitive.ObjectID) error

Delete mocks base method.

func (*MockVideoDAO) EXPECT

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

func (*MockVideoDAO) Get

func (m *MockVideoDAO) Get(arg0 context.Context, arg1 primitive.ObjectID) (*dao.Video, error)

Get mocks base method.

func (*MockVideoDAO) List

func (m *MockVideoDAO) List(arg0 context.Context, arg1, arg2 int64) ([]*dao.Video, error)

List mocks base method.

func (*MockVideoDAO) Update

func (m *MockVideoDAO) Update(arg0 context.Context, arg1 *dao.Video) error

Update mocks base method.

func (*MockVideoDAO) UpdateVariant

func (m *MockVideoDAO) UpdateVariant(arg0 context.Context, arg1 primitive.ObjectID, arg2, arg3 string) error

UpdateVariant mocks base method.

type MockVideoDAOMockRecorder

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

MockVideoDAOMockRecorder is the mock recorder for MockVideoDAO.

func (*MockVideoDAOMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockVideoDAOMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockVideoDAOMockRecorder) Get

func (mr *MockVideoDAOMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockVideoDAOMockRecorder) List

func (mr *MockVideoDAOMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockVideoDAOMockRecorder) Update

func (mr *MockVideoDAOMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockVideoDAOMockRecorder) UpdateVariant

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

UpdateVariant indicates an expected call of UpdateVariant.

Jump to

Keyboard shortcuts

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