Potion/internal/domain/recipe/repository.go
Hayden Hargreaves ced9da5bf2 (DB/FEAT): Recipe tags have been implemented!
This is part of the step towards finishing the creation wizard, all that
is left is the image. However, that is a bigger problem since it
requires a file store and file server. But for now, tags are implemented
and working!
2025-07-12 12:50:26 -07:00

9 lines
234 B
Go

package domain
type RecipeRepository interface {
CreateRecipe(recipe *Recipe) error
GetRecipe(id int) (*Recipe, error)
SearchRecipes(filters SearchFilters) ([]Recipe, error)
CreateRecipeTags(recipe Recipe, tags []string) error
}