Documentation ¶
Index ¶
- func CreateOrder(ctx context.Context, pool *pgxpool.Pool, userID uuid.UUID, order model.Order) error
- func DeleteOrder(ctx context.Context, pool *pgxpool.Pool, userID, id uuid.UUID) error
- func GetIngredients(ctx context.Context, pool *pgxpool.Pool) ([]model.Ingredient, error)
- func GetOrder(ctx context.Context, pool *pgxpool.Pool, userID, id uuid.UUID) (*model.Order, error)
- func GetOrders(ctx context.Context, pool *pgxpool.Pool, userID uuid.UUID) ([]model.Order, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrder ¶
func DeleteOrder ¶
func GetIngredients ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.