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