assignment

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Save(ctx context.Context, assignments []*domain.Assignment) error
	CheckDuplicates(ctx context.Context, assignments []*domain.Assignment) ([]*domain.Assignment, error)
	FindByFormID(ctx context.Context, formID uuid.UUID) ([]*domain.Assignment, error)
	FindByGroupID(ctx context.Context, groupID uuid.UUID) ([]*domain.Assignment, error)
}

func New

func New(db *gorm.DB, cacheClient *redis.Client, cfg *config.Config, log *slog.Logger) Repository

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL