Documentation ¶
Index ¶
Constants ¶
View Source
const MaxLimit = 100
Variables ¶
This section is empty.
Functions ¶
func IsValidFipeCode ¶
IsValidFipeCode validates if the fipe code is in the correct format
func IsValidMonth ¶
func IsValidYear ¶
func IsValidYearMonth ¶
IsValidYearMonth validates if the year/month are in the future or with invalid values
Types ¶
type OrderByClause ¶
type Pagination ¶
type Vehicle ¶
type Vehicle struct { Year int `validate:"required"` Month int `validate:"required"` FipeCode string `validate:"required,validateFipeCode"` Brand string Model string YearModel string Authentication string MeanValue float32 }
func GetDomainVehiclesExamples ¶
func GetDomainVehiclesExamples() []Vehicle
type WhereClause ¶
Click to show internal directories.
Click to hide internal directories.