You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Major updates, most of them got from gofakeit v4:
* new: Languages (2 letter codes and long names)
* new: Programming Languages
* new: MacAddress
* new: Map with empty interface, with random 4 types
* new: Hexify replaces specific placeholder with Hex ASCII characters
* new: Question and Quote (sentence variations)
* fixed and improved: HexColor
Brand new template system. Unlike the old Generate() and Struct() met…
…hods that were limited to the /data and basic types, templates allows custom patterns to call all the Faker methods.
Other changes:
* modified all benchmarks to use the FastFaker (instead of Safe)
* new method: Binary ("0" or "1")
* new method: BoolText ("false" or "true")
* new examples, benchmarks and tests
* removed Generate method
* Struct and HackerPhrase now use Template* methods
Squashed commit of the following:
commit a36d7a8
Author: B.G.Adrian <aditza8@gmail.com>
Date: Sat Nov 17 12:58:01 2018 +0200
fixes digit 9 missing from randDigit
Extracts the pseudo-random to its own package and interface.
It does not affect the Faker structure (backward compatible).
Updated READMEs
Partial fix for #1