Documentation
¶
Overview ¶
Package servicegroup is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupService ¶
type GroupService struct {
// contains filtered or unexported fields
}
GroupService is a group service.
func (*GroupService) GetGroupIDs ¶
func (svc *GroupService) GetGroupIDs(ctx context.Context) ([]int64, error)
GetGroups returns all group IDs from repository.
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) GetGroupIDs ¶
func (m *MockRepository) GetGroupIDs(arg0 context.Context) ([]int64, error)
GetGroupIDs mocks base method.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) GetGroup ¶
func (mr *MockRepositoryMockRecorder) GetGroup(arg0, arg1 interface{}) *gomock.Call
GetGroup indicates an expected call of GetGroup.
func (*MockRepositoryMockRecorder) GetGroupIDs ¶
func (mr *MockRepositoryMockRecorder) GetGroupIDs(arg0 interface{}) *gomock.Call
GetGroupIDs indicates an expected call of GetGroupIDs.
Click to show internal directories.
Click to hide internal directories.