deliverymenu

package
v0.0.0-...-2a611ce Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Usecase

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

func InitUsecase

func InitUsecase() Usecase

func (Usecase) DeleteMenu

func (uc Usecase) DeleteMenu(ctx context.Context, req dto.DeleteMenuRequest) (dto.DeleteMenuResponse, error)

func (Usecase) EditMenu

func (uc Usecase) EditMenu(ctx context.Context, inputMenu dto.EditMenuRequest) (dto.EditMenuResponse, error)

func (Usecase) FindMenu

func (uc Usecase) FindMenu(ctx context.Context, req dto.FindMenuRequest) (dto.FindMenuResponse, error)

func (Usecase) GetMenus

func (uc Usecase) GetMenus(ctx context.Context) (dto.GetMenuResponse, error)

func (Usecase) NewMenu

func (uc Usecase) NewMenu(ctx context.Context, req dto.NewMenuRequest) error

Jump to

Keyboard shortcuts

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