## 初始化
* 下载go库
```go
go get
```
* 下载自动生成代码脚本库
```sh
cd bin/prisma-parse
npm install
```

## 常用命令
* 同步schema至db
```
go run github.com/prisma/prisma-client-go migrate dev
```
* 生成prisma client
```
go run github.com/prisma/prisma-client-go generate
```
* 生成controller与router
```
cd bin/prisma-parse
node index
```
* 生成swagger docs
```
swag init -g main.go
```
* 本地启动
```
go run main.go
```
* 编译
```
go build
```
## 服务地址
* swagger地址
http://localhost:8199/swagger/index.html