Documentation ¶
Index ¶
- type LaboratoriesPostgresRepository
- func (repository *LaboratoriesPostgresRepository) CreateMarkdownBlock(laboratoryUUID string) (blockUUID string, err error)
- func (repository *LaboratoriesPostgresRepository) GetLaboratoryByUUID(uuid string) (laboratory *entities.Laboratory, err error)
- func (repository *LaboratoriesPostgresRepository) SaveLaboratory(dto *dtos.CreateLaboratoryDTO) (laboratory *entities.Laboratory, err error)
- func (repository *LaboratoriesPostgresRepository) UpdateLaboratory(dto *dtos.UpdateLaboratoryDTO) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LaboratoriesPostgresRepository ¶
func GetLaboratoriesPostgresRepositoryInstance ¶
func GetLaboratoriesPostgresRepositoryInstance() *LaboratoriesPostgresRepository
func (*LaboratoriesPostgresRepository) CreateMarkdownBlock ¶ added in v0.32.0
func (repository *LaboratoriesPostgresRepository) CreateMarkdownBlock(laboratoryUUID string) (blockUUID string, err error)
func (*LaboratoriesPostgresRepository) GetLaboratoryByUUID ¶
func (repository *LaboratoriesPostgresRepository) GetLaboratoryByUUID(uuid string) (laboratory *entities.Laboratory, err error)
func (*LaboratoriesPostgresRepository) SaveLaboratory ¶
func (repository *LaboratoriesPostgresRepository) SaveLaboratory(dto *dtos.CreateLaboratoryDTO) (laboratory *entities.Laboratory, err error)
func (*LaboratoriesPostgresRepository) UpdateLaboratory ¶ added in v0.30.0
func (repository *LaboratoriesPostgresRepository) UpdateLaboratory(dto *dtos.UpdateLaboratoryDTO) error
Click to show internal directories.
Click to hide internal directories.