This software is meant to create fake Italian identities to provide test accounts.
We provide binaries, but it is strongly suggested to obtain this package via
go get github.com/empijei/identigen
Documentation on how to use the library can be found here and APIs are documented here
The usage is fairly simple:
Usage of identigen:
-dt_fmt string
The format of the dates. Supports: 'eu','us','ja' (default "eu")
-fields string
The comma separated list of fields to print. Use 'all' to print all of them (default "all")
-format string
The comma separated list of formats for the output. Supports: 'json', 'csv', 'human' (default "human")
-maxage int
The maximum age for random people generation. Must be positive and more than minage. (default 55)
-minage int
The minimum age for random people generation. Must be positive and less than maxage. (default 25)
-number int
The amount of random people to generate. Must be positive. (default 1)
Sample output:
$ identigen -number 2 -fields Nome,Cognome,DataDiNascita -dt_fmt ja -format json
[
{
"Cognome": "Sammartano",
"DataDiNascita": "1967/08/19",
"Nome": "Cleo"
},
{
"Cognome": "Buonfiglio",
"DataDiNascita": "1970/09/17",
"Nome": "Anna"
}
]
For any feature request or bug report feel free to open new issues.
Want to add a feature you coded yourself? Pull requests are also welcome!
Bonus feature: all flags are six characters long!