Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateMealRequest ¶
func NewCreateMealRequest ¶
func NewCreateMealRequest(r *http.Request) (CreateMealRequest, error)
type DeleteMealRequest ¶
type DeleteMealRequest struct {
MealId int64 `url:"-"`
}
func NewDeleteMealRequest ¶
func NewDeleteMealRequest(r *http.Request) (DeleteMealRequest, error)
type GetMealListRequest ¶
type GetMealListRequest struct { pgdb.OffsetPageParams FilterMealName []string `filter:"meal_name"` FilterPriceFrom []float64 `filter:"price_from"` FilterPriceTo []float64 `filter:"price_to"` FilterAmount []float64 `filter:"amount"` FilterCategoryId []int64 `filter:"category_id"` }
func NewGetMealListRequest ¶
func NewGetMealListRequest(r *http.Request) (GetMealListRequest, error)
type GetMealRequest ¶
type GetMealRequest struct {
MealId int64 `url:"-"`
}
func NewGetMealRequest ¶
func NewGetMealRequest(r *http.Request) (GetMealRequest, error)
type UpdateMealRequest ¶
func NewUpdateMealRequest ¶
func NewUpdateMealRequest(r *http.Request) (UpdateMealRequest, error)
Click to show internal directories.
Click to hide internal directories.