Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
fizzday committed Nov 21, 2018
1 parent 193d017 commit 66175de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66175de

Please sign in to comment.