Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Package mock_repository is a generated GoMock package.
Index ¶
- type MockBoardRepository
- type MockBoardRepositoryMockRecorder
- type MockGroupRepository
- func (m *MockGroupRepository) Create(ctx context.Context, g *domain.Group) error
- func (m *MockGroupRepository) EXPECT() *MockGroupRepositoryMockRecorder
- func (m *MockGroupRepository) Index(ctx context.Context, u *domain.User) ([]*domain.Group, error)
- func (m *MockGroupRepository) Show(ctx context.Context, groupID string) (*domain.Group, error)
- func (m *MockGroupRepository) Update(ctx context.Context, g *domain.Group) error
- type MockGroupRepositoryMockRecorder
- func (mr *MockGroupRepositoryMockRecorder) Create(ctx, g interface{}) *gomock.Call
- func (mr *MockGroupRepositoryMockRecorder) Index(ctx, u interface{}) *gomock.Call
- func (mr *MockGroupRepositoryMockRecorder) Show(ctx, groupID interface{}) *gomock.Call
- func (mr *MockGroupRepositoryMockRecorder) Update(ctx, g interface{}) *gomock.Call
- type MockUserRepository
- type MockUserRepositoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBoardRepository ¶
type MockBoardRepository struct {
// contains filtered or unexported fields
}
MockBoardRepository is a mock of BoardRepository interface
func NewMockBoardRepository ¶
func NewMockBoardRepository(ctrl *gomock.Controller) *MockBoardRepository
NewMockBoardRepository creates a new mock instance
func (*MockBoardRepository) EXPECT ¶
func (m *MockBoardRepository) EXPECT() *MockBoardRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockBoardRepositoryMockRecorder ¶
type MockBoardRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockBoardRepositoryMockRecorder is the mock recorder for MockBoardRepository
func (*MockBoardRepositoryMockRecorder) Index ¶
func (mr *MockBoardRepositoryMockRecorder) Index(ctx, groupID interface{}) *gomock.Call
Index indicates an expected call of Index
type MockGroupRepository ¶
type MockGroupRepository struct {
// contains filtered or unexported fields
}
MockGroupRepository is a mock of GroupRepository interface
func NewMockGroupRepository ¶
func NewMockGroupRepository(ctrl *gomock.Controller) *MockGroupRepository
NewMockGroupRepository creates a new mock instance
func (*MockGroupRepository) EXPECT ¶
func (m *MockGroupRepository) EXPECT() *MockGroupRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockGroupRepositoryMockRecorder ¶
type MockGroupRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockGroupRepositoryMockRecorder is the mock recorder for MockGroupRepository
func (*MockGroupRepositoryMockRecorder) Create ¶
func (mr *MockGroupRepositoryMockRecorder) Create(ctx, g interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockGroupRepositoryMockRecorder) Index ¶
func (mr *MockGroupRepositoryMockRecorder) Index(ctx, u interface{}) *gomock.Call
Index indicates an expected call of Index
func (*MockGroupRepositoryMockRecorder) Show ¶
func (mr *MockGroupRepositoryMockRecorder) Show(ctx, groupID interface{}) *gomock.Call
Show indicates an expected call of Show
func (*MockGroupRepositoryMockRecorder) Update ¶
func (mr *MockGroupRepositoryMockRecorder) Update(ctx, g interface{}) *gomock.Call
Update indicates an expected call of Update
type MockUserRepository ¶
type MockUserRepository struct {
// contains filtered or unexported fields
}
MockUserRepository is a mock of UserRepository interface
func NewMockUserRepository ¶
func NewMockUserRepository(ctrl *gomock.Controller) *MockUserRepository
NewMockUserRepository creates a new mock instance
func (*MockUserRepository) Authentication ¶
Authentication mocks base method
func (*MockUserRepository) EXPECT ¶
func (m *MockUserRepository) EXPECT() *MockUserRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockUserRepositoryMockRecorder ¶
type MockUserRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockUserRepositoryMockRecorder is the mock recorder for MockUserRepository
func (*MockUserRepositoryMockRecorder) Authentication ¶
func (mr *MockUserRepositoryMockRecorder) Authentication(ctx interface{}) *gomock.Call
Authentication indicates an expected call of Authentication
func (*MockUserRepositoryMockRecorder) Update ¶
func (mr *MockUserRepositoryMockRecorder) Update(ctx, u interface{}) *gomock.Call
Update indicates an expected call of Update