Skip to content

Commit

Permalink
Merge pull request #343 from se-omar/car-descs
Browse files Browse the repository at this point in the history
improve car descs
  • Loading branch information
brianvoe committed Jan 19, 2024
2 parents 4ab4a51 + ce9511f commit 9a889e6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions car.go
Expand Up @@ -75,7 +75,7 @@ func addCarLookup() {
AddFuncLookup("car", Info{
Display: "Car",
Category: "car",
Description: "Complete set of car data including essential information like type, fuel type, transmission, brand, model, and production year of a vehicle",
Description: "Wheeled motor vehicle used for transportation",
Example: `{
"type": "Passenger car mini",
"fuel": "Gasoline",
Expand All @@ -94,7 +94,7 @@ func addCarLookup() {
AddFuncLookup("cartype", Info{
Display: "Car Type",
Category: "car",
Description: "Category of vehicle, like sedan, SUV, truck, or sports car, based on design",
Description: "Classification of cars based on size, use, or body style",
Example: "Passenger car mini",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -105,7 +105,7 @@ func addCarLookup() {
AddFuncLookup("carfueltype", Info{
Display: "Car Fuel Type",
Category: "car",
Description: "Type of energy source for vehicles, such as gasoline, diesel, electric, or hybrid",
Description: "Type of energy source a car uses",
Example: "CNG",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -116,7 +116,7 @@ func addCarLookup() {
AddFuncLookup("cartransmissiontype", Info{
Display: "Car Transmission Type",
Category: "car",
Description: "Mechanism controlling vehicle's power, like manual, automatic, etc.",
Description: "Mechanism a car uses to transmit power from the engine to the wheels",
Example: "Manual",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -127,7 +127,7 @@ func addCarLookup() {
AddFuncLookup("carmaker", Info{
Display: "Car Maker",
Category: "car",
Description: "Company name specializing in designing, manufacturing, and selling cars",
Description: "Company or brand that manufactures and designs cars",
Example: "Nissan",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -138,7 +138,7 @@ func addCarLookup() {
AddFuncLookup("carmodel", Info{
Display: "Car Model",
Category: "car",
Description: "Specific design or version of a vehicle produced by a car manufacturer",
Description: "Specific design or version of a car produced by a manufacturer",
Example: "Aveo",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand Down

0 comments on commit 9a889e6

Please sign in to comment.