model

package
v0.0.0-...-a40117b Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const PantryStaples = "flour, sugar, vegetable oil, baking powder, sugar, salt"

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryParameters

type QueryParameters struct {
	Count         *int    `json:"Count"`
	Ingredients   *string `json:"Ingredients"`
	PantryStaples *bool   `json:"PantryStaples"`
}

type Recipe

type Recipe struct {
	Name        string `json:"name"`
	Ingredients []struct {
		Ingredient string `json:"ingredient"`
		Quantity   string `json:"quantity"`
	} `json:"ingredients"`
	Instructions []string `json:"instructions"`
}

type Recipes

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

Jump to

Keyboard shortcuts

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