Releases: jaswdr/faker
Releases · jaswdr/faker
Added faker.BoolWithChance(int)
faker.BoolWithChance(int)
method allow you to generate boolean values based on a percentage of chance of the value be true
, lower values will generate false
more frequently, higher values will generate true
more frequently.
You can use values from 0 to 100 for the chance, any value lower or equals to 0 will always generate false
, any value higher or equal to 100 will generate always true
.
Added Mime type and Youtube generators
use Expect() helper function in youtube test file Signed-off-by: Jonathan Schweder <[email protected]>
Minor bugs fixing
v1.0.4 Update link to documentation
Removed empty email format
v1.0.3 Removed empty email format
More generators
v1.0.2 Added Bytes() generator
Corrected generation of UUID v4
v1.0.1 Corrected generation of UUID v4
First production ready relase
Changed features:
- All generators are now "thread safe" and will not use memory address (akka:
func (p Person)
instead offunc(p *Person)
) - Added UUID v4 generator
First release
First release of the package