Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Create(ctx context.Context, dto recipe.CreateRecipeDTO) (string, error) Update(ctx context.Context, dto recipe.UpdateRecipeDTO) error GetByID(ctx context.Context, id string) (recipe.Recipe, error) GetAllByUser(ctx context.Context, userID string) ([]recipe.Recipe, error) GetAll(ctx context.Context, start int64, limit int64) ([]recipe.Recipe, error) FindByIngredients(ctx context.Context, ingredientIDs []string) ([]recipe.Recipe, error) }
func NewService ¶
Click to show internal directories.
Click to hide internal directories.