This gem is a port of Ruby's Faker library that generates fake data.
- This is the
master
branch of Faker and may contain changes that are not yet released. Please refer the README of your version for the available methods. List of all versions is available here.
v install faker
import faker
//TODO
We currently work with two optional arguments in the CLI:
- generator: we have different types of generators inside the
/data
, you should pass the generator that you're interested in using. - method: inside each generator, we can pick up a set of data generators. V will pick up randomly one item.
v run main.v --generator=address_us --method=state_abbr
If your locale doesn't already exist, create it in the data
directory
and you can then override or add elements to suit your needs.
See CONTRIBUTING.md.
Comments and feedback are welcome. Send an email to Vitor Oliveira via the issues.
This code is free to use under the terms of the MIT license.