rest

package
v0.0.0-...-f0852b9 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Delivery

type Delivery struct {
	// contains filtered or unexported fields
}

func New

func New(
	logger *slog.Logger,
	dishById *queries.GetDishByIDQuery,
	menuById *queries.GetMenuByIDQuery,
	menuByRestaurant *queries.GetRestaurantsMenusQuery,
	restaurantList *queries.GetRestaurantsQuery,
	dishValidation *queries.ValidateDishOwnershipQuery,
) (*Delivery, error)

func (*Delivery) Run

func (d *Delivery) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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