From 66175ded040e35b14921ba12f56bc631d5327e03 Mon Sep 17 00:00:00 2001 From: fizzday Date: Wed, 21 Nov 2018 15:01:39 +0800 Subject: [PATCH] new --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f8cdbb2..1aa3359 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,14 @@ CREATE TABLE `prefix_user` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户表' ``` +## 命令行用法 +1. 下载对应平台的可执行文件 + +2. 命令行执行 +```sh +./table2struct.linux.bin -file model.go -dsn xxx -table user +``` + ## 简单用法 ```go package main