refplants

package
v0.0.0-...-f0786df Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MIT Imports: 5 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, 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