Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockLikeRepository
- type MockLikeRepositoryMockRecorder
- type MockPostRepository
- func (m *MockPostRepository) Create(ctx context.Context, p *model.Post) error
- func (m *MockPostRepository) EXPECT() *MockPostRepositoryMockRecorder
- func (m *MockPostRepository) Get(ctx context.Context, referenceID, userReferenceID string) (*model.Post, error)
- func (m *MockPostRepository) GetFeed(ctx context.Context, userReferenceID string) ([]*dto.FeedItem, error)
- type MockPostRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLikeRepository ¶
type MockLikeRepository struct {
// contains filtered or unexported fields
}
MockLikeRepository is a mock of LikeRepository interface.
func NewMockLikeRepository ¶
func NewMockLikeRepository(ctrl *gomock.Controller) *MockLikeRepository
NewMockLikeRepository creates a new mock instance.
func (*MockLikeRepository) EXPECT ¶
func (m *MockLikeRepository) EXPECT() *MockLikeRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLikeRepositoryMockRecorder ¶
type MockLikeRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockLikeRepositoryMockRecorder is the mock recorder for MockLikeRepository.
func (*MockLikeRepositoryMockRecorder) Create ¶
func (mr *MockLikeRepositoryMockRecorder) Create(ctx, postID, userReferenceID interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockLikeRepositoryMockRecorder) Delete ¶
func (mr *MockLikeRepositoryMockRecorder) Delete(ctx, postID, userReferenceID interface{}) *gomock.Call
Delete indicates an expected call of Delete.
type MockPostRepository ¶
type MockPostRepository struct {
// contains filtered or unexported fields
}
MockPostRepository is a mock of PostRepository interface.
func NewMockPostRepository ¶
func NewMockPostRepository(ctrl *gomock.Controller) *MockPostRepository
NewMockPostRepository creates a new mock instance.
func (*MockPostRepository) EXPECT ¶
func (m *MockPostRepository) EXPECT() *MockPostRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPostRepositoryMockRecorder ¶
type MockPostRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockPostRepositoryMockRecorder is the mock recorder for MockPostRepository.
func (*MockPostRepositoryMockRecorder) Create ¶
func (mr *MockPostRepositoryMockRecorder) Create(ctx, p interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockPostRepositoryMockRecorder) Get ¶
func (mr *MockPostRepositoryMockRecorder) Get(ctx, referenceID, userReferenceID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockPostRepositoryMockRecorder) GetFeed ¶
func (mr *MockPostRepositoryMockRecorder) GetFeed(ctx, userReferenceID interface{}) *gomock.Call
GetFeed indicates an expected call of GetFeed.