Skip to content

Releases: jaswdr/faker

Added faker.BoolWithChance(int)

07 Oct 12:35
9fc136a
Compare
Choose a tag to compare

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

06 Oct 11:45
Compare
Choose a tag to compare
use Expect() helper function in youtube test file

Signed-off-by: Jonathan Schweder <[email protected]>

Minor bugs fixing

26 Aug 14:47
e35de3e
Compare
Choose a tag to compare
v1.0.4

Update link to documentation

Removed empty email format

02 Jun 11:38
Compare
Choose a tag to compare
v1.0.3

Removed empty email format

More generators

21 Aug 19:29
Compare
Choose a tag to compare
v1.0.2

Added Bytes() generator

Corrected generation of UUID v4

10 Aug 17:16
Compare
Choose a tag to compare
v1.0.1

Corrected generation of UUID v4

First production ready relase

10 Aug 13:36
Compare
Choose a tag to compare

Changed features:

  • All generators are now "thread safe" and will not use memory address (akka: func (p Person) instead of func(p *Person))
  • Added UUID v4 generator

First release

14 May 22:34
Compare
Choose a tag to compare

First release of the package