Versions in this module Expand all Collapse all v1 v1.0.0 Nov 30, 2024 Changes in this version + type AssignmentRepository struct + func NewAssignmentRepository(ctrl *gomock.Controller) *AssignmentRepository + func (m *AssignmentRepository) CheckDuplicates(ctx context.Context, assignments []*domain.Assignment) ([]*domain.Assignment, error) + func (m *AssignmentRepository) EXPECT() *AssignmentRepositoryMockRecorder + func (m *AssignmentRepository) FindByFormID(ctx context.Context, formID uuid.UUID) ([]*domain.Assignment, error) + func (m *AssignmentRepository) FindByGroupID(ctx context.Context, groupID uuid.UUID) ([]*domain.Assignment, error) + func (m *AssignmentRepository) Save(ctx context.Context, assignments []*domain.Assignment) error + type AssignmentRepositoryMockRecorder struct + func (mr *AssignmentRepositoryMockRecorder) CheckDuplicates(ctx, assignments interface{}) *gomock.Call + func (mr *AssignmentRepositoryMockRecorder) FindByFormID(ctx, formID interface{}) *gomock.Call + func (mr *AssignmentRepositoryMockRecorder) FindByGroupID(ctx, groupID interface{}) *gomock.Call + func (mr *AssignmentRepositoryMockRecorder) Save(ctx, assignments interface{}) *gomock.Call + type AssignmentService struct + func NewAssignmentService(ctrl *gomock.Controller) *AssignmentService + func (m *AssignmentService) Create(ctx context.Context, assignment *business.FormAssignment) (*business.AssignmentCreateResponse, error) + func (m *AssignmentService) EXPECT() *AssignmentServiceMockRecorder + func (m *AssignmentService) FindByFormID(ctx context.Context, formID uuid.UUID) (*business.FormAssignment, error) + func (m *AssignmentService) FindByGroupID(ctx context.Context, groupID uuid.UUID) (*business.GroupAssignment, error) + type AssignmentServiceMockRecorder struct + func (mr *AssignmentServiceMockRecorder) Create(ctx, assignment interface{}) *gomock.Call + func (mr *AssignmentServiceMockRecorder) FindByFormID(ctx, formID interface{}) *gomock.Call + func (mr *AssignmentServiceMockRecorder) FindByGroupID(ctx, groupID interface{}) *gomock.Call + type AuthClientMW struct + func NewAuthClientMW(ctrl *gomock.Controller) *AuthClientMW + func (m *AuthClientMW) AmqpMiddleware(arg0 *config.Config, arg1 *slog.Logger) amqp.Middleware + func (m *AuthClientMW) AnyAccountTypeAuthenticationFunc(ctx context.Context, token string) (context.Context, error) + func (m *AuthClientMW) AuthenticationUnaryServerInterceptor() ... + func (m *AuthClientMW) EXPECT() *AuthClientMWMockRecorder + func (m *AuthClientMW) StudentAccountTypeAuthenticationFunc(ctx context.Context, token string) (context.Context, error) + func (m *AuthClientMW) TeacherAccountTypeAuthenticationFunc(ctx context.Context, token string) (context.Context, error) + type AuthClientMWMockRecorder struct + func (mr *AuthClientMWMockRecorder) AmqpMiddleware(arg0, arg1 interface{}) *gomock.Call + func (mr *AuthClientMWMockRecorder) AnyAccountTypeAuthenticationFunc(ctx, token interface{}) *gomock.Call + func (mr *AuthClientMWMockRecorder) AuthenticationUnaryServerInterceptor() *gomock.Call + func (mr *AuthClientMWMockRecorder) StudentAccountTypeAuthenticationFunc(ctx, token interface{}) *gomock.Call + func (mr *AuthClientMWMockRecorder) TeacherAccountTypeAuthenticationFunc(ctx, token interface{}) *gomock.Call + type Mockrepository struct + func NewMockrepository(ctrl *gomock.Controller) *Mockrepository + func (m *Mockrepository) CheckDuplicates(ctx context.Context, assignments []*domain.Assignment) ([]*domain.Assignment, error) + func (m *Mockrepository) EXPECT() *MockrepositoryMockRecorder + func (m *Mockrepository) FindByFormID(ctx context.Context, formID uuid.UUID) ([]*domain.Assignment, error) + func (m *Mockrepository) FindByGroupID(ctx context.Context, groupID uuid.UUID) ([]*domain.Assignment, error) + func (m *Mockrepository) Save(ctx context.Context, assignment []*domain.Assignment) error + type MockrepositoryMockRecorder struct + func (mr *MockrepositoryMockRecorder) CheckDuplicates(ctx, assignments interface{}) *gomock.Call + func (mr *MockrepositoryMockRecorder) FindByFormID(ctx, formID interface{}) *gomock.Call + func (mr *MockrepositoryMockRecorder) FindByGroupID(ctx, groupID interface{}) *gomock.Call + func (mr *MockrepositoryMockRecorder) Save(ctx, assignment interface{}) *gomock.Call