Documentation ¶
Index ¶
- func NewCropActivityRepositoryInMemory(s *storage.CropActivityStorage) repository.CropActivity
- func NewCropEventRepositoryInMemory(s *storage.CropEventStorage) repository.CropEvent
- func NewCropReadRepositoryInMemory(s *storage.CropReadStorage) repository.CropRead
- type CropActivityRepositoryInMemory
- type CropEventRepositoryInMemory
- type CropReadRepositoryInMemory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCropActivityRepositoryInMemory ¶
func NewCropActivityRepositoryInMemory(s *storage.CropActivityStorage) repository.CropActivity
func NewCropEventRepositoryInMemory ¶
func NewCropEventRepositoryInMemory(s *storage.CropEventStorage) repository.CropEvent
func NewCropReadRepositoryInMemory ¶
func NewCropReadRepositoryInMemory(s *storage.CropReadStorage) repository.CropRead
Types ¶
type CropActivityRepositoryInMemory ¶
type CropActivityRepositoryInMemory struct {
Storage *storage.CropActivityStorage
}
func (*CropActivityRepositoryInMemory) Save ¶
func (f *CropActivityRepositoryInMemory) Save(cropActivity *storage.CropActivity, isUpdate bool) <-chan error
Save is to save
type CropEventRepositoryInMemory ¶
type CropEventRepositoryInMemory struct {
Storage *storage.CropEventStorage
}
type CropReadRepositoryInMemory ¶
type CropReadRepositoryInMemory struct {
Storage *storage.CropReadStorage
}
Click to show internal directories.
Click to hide internal directories.