Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUsedIngredientRequest ¶
type CreateUsedIngredientRequest struct {
Data resources.UsedIngredient
}
func NewCreateUsedIngredientRequest ¶
func NewCreateUsedIngredientRequest(r *http.Request) (CreateUsedIngredientRequest, error)
type DeleteUsedIngredientRequest ¶
type DeleteUsedIngredientRequest struct {
UsedIngredientID int64 `url:"-"`
}
func NewDeleteUsedIngredientRequest ¶
func NewDeleteUsedIngredientRequest(r *http.Request) (DeleteUsedIngredientRequest, error)
type GetUsedIngredientListRequest ¶
type GetUsedIngredientListRequest struct { pgdb.OffsetPageParams FilterName []string `filter:"name"` FilterQuantity []int64 `filter:"quantity"` FilterOrigin []string `filter:"origin"` FilterPrice []float64 `filter:"price"` FilterDeletionDate []time.Time `filter:"deletion_date"` FilterReason []string `filter:"reason"` }
func NewGetUsedIngredientListRequest ¶
func NewGetUsedIngredientListRequest(r *http.Request) (GetUsedIngredientListRequest, error)
type GetUsedIngredientRequest ¶
type GetUsedIngredientRequest struct {
UsedIngredientID int64 `url:"-"`
}
func NewGetUsedIngredientRequest ¶
func NewGetUsedIngredientRequest(r *http.Request) (GetUsedIngredientRequest, error)
type UpdateUsedIngredientRequest ¶
type UpdateUsedIngredientRequest struct { UsedIngredientID int64 `url:"-" json:"-"` Data resources.UsedIngredient }
func NewUpdateUsedIngredientRequest ¶
func NewUpdateUsedIngredientRequest(r *http.Request) (UpdateUsedIngredientRequest, error)
Click to show internal directories.
Click to hide internal directories.