Documentation ¶
Overview ¶
Package daomock is a generated GoMock package.
Index ¶
- type MockVideoDAO
- func (m *MockVideoDAO) Create(arg0 context.Context, arg1 *dao.Video) error
- func (m *MockVideoDAO) Delete(arg0 context.Context, arg1 primitive.ObjectID) error
- func (m *MockVideoDAO) EXPECT() *MockVideoDAOMockRecorder
- func (m *MockVideoDAO) Get(arg0 context.Context, arg1 primitive.ObjectID) (*dao.Video, error)
- func (m *MockVideoDAO) List(arg0 context.Context, arg1, arg2 int64) ([]*dao.Video, error)
- func (m *MockVideoDAO) Update(arg0 context.Context, arg1 *dao.Video) error
- func (m *MockVideoDAO) UpdateVariant(arg0 context.Context, arg1 primitive.ObjectID, arg2, arg3 string) error
- type MockVideoDAOMockRecorder
- func (mr *MockVideoDAOMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVideoDAOMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVideoDAOMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVideoDAOMockRecorder) List(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockVideoDAOMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVideoDAOMockRecorder) UpdateVariant(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockVideoDAO) EXPECT() *MockVideoDAOMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
Click to show internal directories.
Click to hide internal directories.