refplants

package
v0.0.0-...-625d9dc Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetRefPlantByIDHandler

func NewGetRefPlantByIDHandler(repo RepoInterface) refplant.GetRefPlantByIDHandler

NewGetRefPlantByIDHandler builder for refplant.GetRefPlantByIDHandler interface implementation.

func NewGetRefPlantsHandler

func NewGetRefPlantsHandler(repo RepoInterface) refplant.GetRefPlantsHandler

NewGetRefPlantsHandler builder for refplant.GetRefPlantsHandler interface implementation.

Types

type RepoInterface

type RepoInterface interface {
	GetRefPlants(ctx context.Context, params refplant.GetRefPlantsParams) ([]*models.RefPlant, int64, int64, error)
	GetRefPlantByID(ctx context.Context, id int64) (*models.RefPlant, error)
}

Jump to

Keyboard shortcuts

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