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

Product descs #321

Merged
merged 2 commits into from Jan 16, 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
14 changes: 7 additions & 7 deletions product.go
Expand Up @@ -162,7 +162,7 @@ func addProductLookup() {
AddFuncLookup("product", Info{
Display: "Product",
Category: "product",
Description: "Random product info",
Description: "An item created for sale or use",
Example: `{
"name": "olive copper monitor",
"description": "Backwards caused quarterly without week it hungry thing someone him regularly. Whomever this revolt hence from his timing as quantity us these yours.",
Expand All @@ -188,7 +188,7 @@ func addProductLookup() {
AddFuncLookup("productname", Info{
Display: "Product Name",
Category: "product",
Description: "Random product name",
Description: "Distinctive title or label assigned to a product for identification and marketing",
Example: "olive copper monitor",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -199,7 +199,7 @@ func addProductLookup() {
AddFuncLookup("productdescription", Info{
Display: "Product Description",
Category: "product",
Description: "Random product description",
Description: "Explanation detailing the features and characteristics of a product",
Example: "Backwards caused quarterly without week it hungry thing someone him regularly. Whomever this revolt hence from his timing as quantity us these yours.",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -210,7 +210,7 @@ func addProductLookup() {
AddFuncLookup("productcategory", Info{
Display: "Product Category",
Category: "product",
Description: "Random product category",
Description: "Classification grouping similar products based on shared characteristics or functions",
Example: "clothing",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -221,7 +221,7 @@ func addProductLookup() {
AddFuncLookup("productfeature", Info{
Display: "Product Feature",
Category: "product",
Description: "Random product feature",
Description: "Specific characteristic of a product that distinguishes it from others products",
Example: "ultra-lightweight",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -232,7 +232,7 @@ func addProductLookup() {
AddFuncLookup("productmaterial", Info{
Display: "Product Material",
Category: "product",
Description: "Random product material",
Description: "The substance from which a product is made, influencing its appearance, durability, and properties",
Example: "brass",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -243,7 +243,7 @@ func addProductLookup() {
AddFuncLookup("productupc", Info{
Display: "Product UPC",
Category: "product",
Description: "Random product UPC",
Description: "Standardized barcode used for product identification and tracking in retail and commerce",
Example: "012780949980",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand Down