Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AreaServiceInMemory ¶
type AreaServiceInMemory struct { FarmReadQuery query.FarmReadQuery ReservoirReadQuery query.ReservoirReadQuery CropReadQuery query.CropReadQuery }
func (AreaServiceInMemory) CountCropsByAreaID ¶
func (s AreaServiceInMemory) CountCropsByAreaID(areaUID uuid.UUID) (int, error)
func (AreaServiceInMemory) FindFarmByID ¶
func (s AreaServiceInMemory) FindFarmByID(uid uuid.UUID) (domain.AreaFarmServiceResult, error)
func (AreaServiceInMemory) FindReservoirByID ¶
func (s AreaServiceInMemory) FindReservoirByID(reservoirUID uuid.UUID) (domain.AreaReservoirServiceResult, error)
type ReservoirServiceInMemory ¶
type ReservoirServiceInMemory struct {
FarmReadQuery query.FarmReadQuery
}
func (ReservoirServiceInMemory) FindFarmByID ¶
func (s ReservoirServiceInMemory) FindFarmByID(uid uuid.UUID) (domain.ReservoirFarmServiceResult, error)
Click to show internal directories.
Click to hide internal directories.