Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve car descs #343

Merged
merged 1 commit into from Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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