Skip to content

Commit

Permalink
vehicle - updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bvoelker committed Jan 25, 2019
1 parent a2006e7 commit d9d38f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vehicle.go
@@ -1,5 +1,6 @@
package gofakeit

// VehicleInfo is a struct dataset of all vehicle information
type VehicleInfo struct {
// Vehicle type
VehicleType string
Expand Down Expand Up @@ -33,18 +34,22 @@ func VehicleType() string {
return getRandValue([]string{"vehicle", "vehicle_type"})
}

// FuelType will return a random fuel type
func FuelType() string {
return getRandValue([]string{"vehicle", "fuel_type"})
}

// TransmissionGearType will return a random transmission gear type
func TransmissionGearType() string {
return getRandValue([]string{"vehicle", "transmission_type"})
}

// CarMaker will return a random car maker
func CarMaker() string {
return getRandValue([]string{"vehicle", "maker"})
}

// CarModel will return a random car model
func CarModel() string {
return getRandValue([]string{"vehicle", "model"})
}
}

0 comments on commit d9d38f6

Please sign in to comment.