repository

package
v0.0.0-...-ae75a06 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCropBatchFromHistory

func NewCropBatchFromHistory(events []storage.CropEvent) *domain.Crop

Types

type CropActivity

type CropActivity interface {
	Save(cropActivity *storage.CropActivity, isUpdate bool) <-chan error
}

type CropEvent

type CropEvent interface {
	Save(uid uuid.UUID, latestVersion int, events []interface{}) <-chan error
}

type CropRead

type CropRead interface {
	Save(cropRead *storage.CropRead) <-chan error
}

type Result

type Result struct {
	Result interface{}
	Error  error
}

Result is a struct to wrap repository result so its easy to use it in channel.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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