Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Recognition ¶
type Recognition struct { ID string `db:"id"` ImageKey string `db:"image_key"` Plate string `db:"plate"` CreatedAt time.Time `db:"created_at"` }
Recognition ...
func TestRecognition ¶
func TestRecognition(t *testing.T) *Recognition
type RecognitionRepository ¶
type RecognitionRepository interface { Create(ctx context.Context, recognition *Recognition) error FindByPlate(ctx context.Context, plate string) ([]Recognition, error) }
type Store ¶
type Store interface {
Recognition() RecognitionRepository
}
Click to show internal directories.
Click to hide internal directories.