recipe

package
v0.0.0-...-fa7a763 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recipe

type Recipe struct {
	Title  string `json:"name"`
	Source string
	Tags   []string `json:"keywords"`
	Yield  string   `json:"recipeYield"`

	CookTime  string `json:"cookTime"`
	PrepTime  string `json:"prepTime"`
	TotalTime string `json:"totalTime"`

	Nutrition struct {
		// contains filtered or unexported fields
	} `json:"nutrition"`

	Ingredients  []string `json:"recipeIngredient"`
	Instructions string   `json:"recipeInstructions"`
}

func (*Recipe) Polish

func (recipe *Recipe) Polish()

func (*Recipe) ToYaml

func (r *Recipe) ToYaml() string

Jump to

Keyboard shortcuts

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