recipe

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Client dphttp.Clienter
	URL    string
}

API provides a client for calling the Recipe API.

func (*API) GetRecipe

func (api *API) GetRecipe(ctx context.Context, ID string) (*models.Recipe, error)

GetRecipe from an ID

Jump to

Keyboard shortcuts

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