Overview

Data worker, data generator, generate a lot data by config.
中文说明
Where is for?
- Data test
- Demo
- Unit Test for developing
Features
- Define some specified fields and parameters by config.
- Load external dict to use more data.
Usage
Create a json file for config,and save to config folder。for example:
{
"dict_path": "dict",
"build": {
"count": 5,
"format": "json",
"name": "demo",
"path": "out"
},
"fields": [
{
"name": "id",
"type": "uuid"
},
{
"name": "name",
"type": "string",
"dict": "usernames"
},
{
"name": "creat_dt",
"type": "datetime"
}
]
}
- dict_path: It's a dict folder includes some dict files
- build: Build command
- fields: Setup output a few fields
Assign -c parameter,setup config。
data-worker build -c ./config/demo.json
Plan
- Output cvs file
- Suport generate email address