implementations

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LaboratoriesPostgresRepository

type LaboratoriesPostgresRepository struct {
	Connection *sql.DB
}

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

Jump to

Keyboard shortcuts

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