go run src/zd.go -y demo/article.yaml -c 3 -head -s

~/go/bin/rsrc -manifest xdoc/main.manifest -ico xdoc/favicon.ico -o cmd/launcher/main.syso
~/go/bin/rsrc -arch 386 -manifest xdoc/main.manifest -ico xdoc/favicon.ico -o cmd/launcher/main.syso
~/go/bin/rsrc -arch amd64 -manifest xdoc/main.manifest -ico xdoc/favicon.ico -o cmd/launcher/main.syso

生成数据的地方：
    随机数生成：
        实现：
            gen/helper/rand.go 统一生成随机数，在最后的数据打印时，替换占位巢。
        调用：
            Print -> replacePlaceholder -> getValForPlaceholder -> helper.GetRandFromRange

    非随机数生成：
        实现：
            GenerateIntItems -> generateIntItemsByStep | generateIntItemsRand
            GenerateFloatItems -> generateFloatItemsByStep | generateFloatItemsRand
            GenerateByteItems -> generateByteItemsByStep | generateByteItemsRand

        调用：toGen -> Generate | CreateValuesFromYaml -> GenerateOnTopLevel
             -> GenerateFieldValuesForDef -> CreateField -> CreateListField
             -> CreateListFieldValues -> CreateFieldValuesFromList -> CreateValuesFromInterval

http://localhost:8848/api/v1/data/generate?config=demo/default.yaml&lines=3

curl -i -X POST -F default=@demo/default.yaml \
    http://localhost:8848/api/v1/data/generate?trim=true\&format=json\&lines=3

scp ~/work/zentao/qiniu/zd/2.3/linux/zd.zip 192.168.0.105:~

http://localhost:8848/api/v1/m/petstore/users/1

docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:v6.2.1 generate \
    -i https://gitee.com/aaronchen2k/zd/raw/3.0/xdoc/test.json \
    -g php \
    -o ~/out/php

openapi-generator-cli generate --skip-validate-spec \
 -i /Users/aaron/out/input.json \
 -g php -o ~/out/php

openapi-generator-cli generate --skip-validate-spec \
 -i /Users/aaron/out/input.json \
 -g python -o ~/out/python

https://dl.cnezsoft.com/zd/3.1.0/win64/zd.zip
https://dl.cnezsoft.com/zd/3.1.0/win32/zd.zip
https://dl.cnezsoft.com/zd/3.1.0/linux/zd.zip
https://dl.cnezsoft.com/zd/3.1.0/darwin/zd.zip