Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateDealer ¶
func UpdateDealer(ctx context.Context, updateDealerInfo UpdateDealerInfo)
Types ¶
type Car ¶
type Car struct { Id string `bson:"_id"` Year int `bson:"year"` Title string `bson:"title"` Trim string `bson:"trim"` InteriorColor string `bson:"interiorColor"` ExteriorColor string `bson:"exteriorColor"` Mileage int `bson:"mileage"` LicensePlate string `bson:"licensePlate"` Pictures []string `bson:"pictures"` MainPicture string `bson:"mainPicture"` Currency string `bson:"currency"` Price int `bson:"price"` Url string `bson:"url"` DealerId string `bson:"dealerId"` PicturesUploaded bool `bson:"picturesUploaded"` Spot string `bson:"spot"` ExteriorPictures []string `bson:"exteriorPictures"` InteriorPictures []string `bson:"interiorPictures"` Model string `bson:"model"` Brand string `bson:"brand"` ModelSlug string `bson:"modelSlug"` TrimName string `bson:"trimName"` BodyStyleId string `bson:"bodyStyleId"` FuelTypeId string `bson:"fueltypeId"` TransmissionId string `bson:"transmissionId"` DriveTrainId string `bson:"driveTrainId"` BrandId string `bson:"brandId"` ModelId string `bson:"modelId"` }
type Dealer ¶
type Dealer struct { Id string `bson:"_id"` Name string `bson:"name"` Slug string `bson:"slug"` Address string `bson:"address"` Latitude float64 `bson:"latitude"` Longitude float64 `bson:"longitude"` TelephoneNumberSanitized string `bson:"telephoneNumberSanitized"` City string `bson:"city"` Spot string `bson:"spot"` Uploaded bool `bson:"uploaded"` Dealer string `bson:"dealer"` }
func GetDealers ¶
type Feature ¶
func GetFeatures ¶
type UpdateCarInfo ¶
type UpdateDealerInfo ¶
Click to show internal directories.
Click to hide internal directories.