interfaces

package
v0.0.0-...-dbf3d01 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ingredient

type Ingredient struct {
	Name        string
	Image       svg.SVG
	Description string
	// contains filtered or unexported fields
}

type IngredientAccess

type IngredientAccess interface {
	FindByName(name string) (ingredients []Ingredient, err error)
	Delete() (err error)
	Update() (err error)
	GetAlternateIngredients() (ingredients []Ingredient, err error)
}

type IngredientRepository

type IngredientRepository interface {
	Find(name string) (ingredients []Ingredient, err error)
	Insert() (err error)
	Update() (err error)
	Delete() (err error)
}

Jump to

Keyboard shortcuts

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