Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyPassword ¶
Types ¶
type Advertisement ¶
type Car ¶
type Car struct { ID int `json:"id"` CategoryID int `json:"category_id"` FuelTypeID int `json:"fuelType_id" gorm:"column:fuelType_id"` GearboxID int `json:"gearbox_id"` Make string `json:"make"` Model string `json:"model"` Power uint `json:"power"` Mileage uint `json:"mileage"` EmissionsCategory uint8 `json:"emissionsCategory" gorm:"column:emissionsCategory"` FirstRegistration time.Time `json:"firstRegistration" gorm:"column:firstRegistration"` Color string `json:"color"` }
type LeaseOffer ¶
type LeaseOffer struct { ID int `json:"id"` UserID int `json:"userID"` Description string `json:"description"` FirstInstallmentPtMin string `json:"firstInstallmentPtMin"` FirstInstallmentPtMax string `json:"firstInstallmentPtMax"` InterestRate float32 `json:"interestRate"` PeriodInMonths uint `json:"periodInMonths"` MinValue uint `json:"minValue"` MaxValue uint `json:"maxValue"` IsInsuranceRequired bool `json:"isInsuranceRequired"` //required_insurance }
type User ¶
type User struct { ID int `json:"id" header:"ID"` Password string `json:"password" gorm:"column:password"` UserName string `json:"userName" gorm:"column:username" header:"Username"` FirstName string `json:"firstName" gorm:"column:firstname" header:"First Name"` LastName string `json:"lastName" gorm:"column:lastname" header:"Last Name"` Email string `json:"email" header:"Email"` IsPrivate bool `json:"isPrivate" gorm:"'is_private' boolean"` RoleID int `json:"roleID" gorm:"'role_id'"` //[role_id] }
Click to show internal directories.
Click to hide internal directories.