Skip to content

Commit

Permalink
add faker item product name
Browse files Browse the repository at this point in the history
  • Loading branch information
cjp2600 committed Nov 11, 2020
1 parent bce625e commit 2c4e7cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ func Clean(field, content string) string {
switch strings.ToLower(field) {
case "phone":
return faker.Phonenumber()
case "productName":
return faker.Name()
case "url":
return faker.URL()
case "name":
Expand Down

0 comments on commit 2c4e7cf

Please sign in to comment.