recipies

package
v0.0.0-...-4512218 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	CreateRecipe(ctx context.Context, args db.CreateRecipeParams) (db.Recipe, error)
	GetRecipeById(ctx context.Context, id int32) (db.Recipe, error)
	ListRecipes(ctx context.Context, params db.ListRecipesParams) ([]db.Recipe, error)
	UpdateRecipe(ctx context.Context, params db.UpdateRecipeParams) (db.Recipe, error)
}

func NewRepostiory

func NewRepostiory(store db.Store, logger *logrus.Logger) Repository

Jump to

Keyboard shortcuts

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