Documentation ¶
Overview ¶
Package daomock is a generated GoMock package.
Index ¶
- type MockCommentDAO
- func (m *MockCommentDAO) Create(arg0 context.Context, arg1 *dao.Comment) (uuid.UUID, error)
- func (m *MockCommentDAO) Delete(arg0 context.Context, arg1 uuid.UUID) error
- func (m *MockCommentDAO) DeleteByVideoID(arg0 context.Context, arg1 string) error
- func (m *MockCommentDAO) EXPECT() *MockCommentDAOMockRecorder
- func (m *MockCommentDAO) ListByVideoID(arg0 context.Context, arg1 string, arg2, arg3 int) ([]*dao.Comment, error)
- func (m *MockCommentDAO) Update(arg0 context.Context, arg1 *dao.Comment) error
- type MockCommentDAOMockRecorder
- func (mr *MockCommentDAOMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommentDAOMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommentDAOMockRecorder) DeleteByVideoID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCommentDAOMockRecorder) ListByVideoID(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCommentDAOMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
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) DeleteByVideoID ¶
func (m *MockCommentDAO) DeleteByVideoID(arg0 context.Context, arg1 string) error
DeleteByVideoID mocks base method.
func (*MockCommentDAO) EXPECT ¶
func (m *MockCommentDAO) EXPECT() *MockCommentDAOMockRecorder
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.
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.
Click to show internal directories.
Click to hide internal directories.