Documentation
¶
Index ¶
- func NewTestRepository(db *data.Database) domain.TestRepository
- type TestRepository
- func (r *TestRepository) FindAll(ctx context.Context) ([]domain.Test, error)
- func (r *TestRepository) Save(ctx context.Context, test domain.Test) error
- func (r *TestRepository) SaveBatch(ctx context.Context, tests []domain.Test) error
- func (r *TestRepository) Update(ctx context.Context, test domain.Test) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestRepository ¶
func NewTestRepository(db *data.Database) domain.TestRepository
NewTestRepository creates a new instance of TestRepository.
Types ¶
type TestRepository ¶
type TestRepository struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.