Documentation ¶
Overview ¶
Package mock_entity is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockArticleRepository ¶
type MockArticleRepository struct {
// contains filtered or unexported fields
}
MockArticleRepository is a mock of ArticleRepository interface
func NewMockArticleRepository ¶
func NewMockArticleRepository(ctrl *gomock.Controller) *MockArticleRepository
NewMockArticleRepository creates a new mock instance
func (*MockArticleRepository) Delete ¶
func (m *MockArticleRepository) Delete(id int64) error
Delete mocks base method
func (*MockArticleRepository) EXPECT ¶
func (m *MockArticleRepository) EXPECT() *MockArticleRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockArticleRepositoryMockRecorder ¶
type MockArticleRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockArticleRepositoryMockRecorder is the mock recorder for MockArticleRepository
func (*MockArticleRepositoryMockRecorder) Delete ¶
func (mr *MockArticleRepositoryMockRecorder) Delete(id interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockArticleRepositoryMockRecorder) Get ¶
func (mr *MockArticleRepositoryMockRecorder) Get(id interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockArticleRepositoryMockRecorder) Put ¶
func (mr *MockArticleRepositoryMockRecorder) Put(arg0 interface{}) *gomock.Call
Put indicates an expected call of Put
Click to show internal directories.
Click to hide internal directories.