model

package
v0.0.0-...-7dd1188 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cuisine

type Cuisine struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type Food

type Food struct {
	ID         string        `json:"id"`
	Name       string        `json:"name"`
	Cuisine    *Cuisine      `json:"cuisine,omitempty"`
	Recipe     *string       `json:"recipe,omitempty"`
	Ingredient []*Ingredient `json:"ingredient"`
}

type Ingredient

type Ingredient struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type Query

type Query struct {
}

Jump to

Keyboard shortcuts

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