forked from bxcodec/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added price (amount and currency) | Code commented and styled (b…
…xcodec#37) * Code Commented and Documented * Added Price and Currency * Typo in price & it's test * .changes updated
- Loading branch information
Showing
17 changed files
with
554 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Comments added | Code Documented according to GoLang Wiki: https://github.com/golang/go/wiki/CodeReviewComments | ||
|
||
helpers.go | ||
SliceIntToString -> IntToString | ||
faker.go | ||
tags string name changed | ||
DAY_OF_MONTH -> DayOfMonthTag | ||
TIME_PERIOD -> TimePeriodTag | ||
internet.go | ||
https(secure) urlFormats added | ||
Url -> Url | ||
Ipv4 -> Ipv4 | ||
Ipv6 -> Ipv6 | ||
lorem.go | ||
Sentences -> Paragraph | ||
Sentence now, directly ends with a full stop, not a space followed by full stop. | ||
A randomized Paragraph is generated having lines <= 10 | ||
person.go | ||
New Titles added | ||
Male names starting with 'Y' and Female names starting with 'X' are added | ||
price.go | ||
Prices are often used with Currency Codes and hence, one can use the price tags to have mock prices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.