README ¶ json2GoStruct Convert JSON to Go Struct,把json转换为Go的结构体 安装 go get -v github.com/dravinbox/json2GoStruct 快速使用 Web模式 $ json2GoStruct -w 命令行模式 $ cat << EOF >./file.json {"name": "zry", "Age": 18,"car": { "car_name": "benzi","color": "red" }} EOF $ json2GoStruct 指定的json文件路径,指定Struct名称 $ json2GoStruct -f <filePath> -n Dravin Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Directories ¶ Show internal Expand all Path Synopsis controller model util Click to show internal directories. Click to hide internal directories.