response

package
v0.0.0-...-805741f Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

templ: version: v0.2.513

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFood

func CreateFood() templ.Component

func EditFoodForm

func EditFoodForm(food *model.Food) templ.Component

func GetFood

func GetFood(food *model.Food) templ.Component

func ViewFoods

func ViewFoods(foods []model.Food) templ.Component

Types

type DeleteFoodResponse

type DeleteFoodResponse struct {
	Id string `json:"id"`
}

type DeleteRecipeResponse

type DeleteRecipeResponse struct {
	Id string `json:"id"`
}

type GetFoodsResponse

type GetFoodsResponse struct {
	Foods []model.Food `json:"ingredients"`
}

type GetRecipesResponse

type GetRecipesResponse struct {
	Recipes []model.Recipe `json:"recipes"`
}

Jump to

Keyboard shortcuts

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