Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvertisementParamsDto ¶
type AdvertisementParamsDto struct { YearFrom string `form:"year_from"` YearTo string `form:"year_to" ` Model string `form:"model" validate:"required,max=50"` City string `form:"city"` Type entity.CarTypeEnum `form:"type"` Transmission entity.TransmissionEnum `form:"transmission"` BestOffer bool `form:"best_offer"` Highlight bool `form:"highlight"` Page int64 `form:"page"` PageSize int64 `form:"page_size"` }
func (AdvertisementParamsDto) Validate ¶
func (apd AdvertisementParamsDto) Validate() error
Click to show internal directories.
Click to hide internal directories.