47 lines
610 B
Markdown
47 lines
610 B
Markdown
|
# ifms
|
|||
|
|
|||
|
> Intelligent Fishery Management System
|
|||
|
|
|||
|
## Quick Start
|
|||
|
|
|||
|
```bash
|
|||
|
make start
|
|||
|
```
|
|||
|
|
|||
|
## Build
|
|||
|
|
|||
|
```bash
|
|||
|
make build
|
|||
|
```
|
|||
|
|
|||
|
## Generate wire inject files
|
|||
|
|
|||
|
```bash
|
|||
|
make wire
|
|||
|
```
|
|||
|
|
|||
|
## Generate swagger documents
|
|||
|
|
|||
|
```bash
|
|||
|
make swagger
|
|||
|
```
|
|||
|
|
|||
|
gin-admin-cli示例:
|
|||
|
|
|||
|
|
|||
|
添加模块
|
|||
|
gin-admin-cli gen -d . -m TRACE -c dictionary.yaml --structs-router-prefix
|
|||
|
|
|||
|
删除模块
|
|||
|
gin-admin-cli rm -d . -m TRACE -c dictionary.yaml --structs-router-prefix
|
|||
|
|
|||
|
|
|||
|
工具地址:
|
|||
|
|
|||
|
https://github.com/LyricTian/gin-admin
|
|||
|
|
|||
|
|
|||
|
https://gitee.com/jkinW/gin-admin
|
|||
|
|
|||
|
打包命令:
|
|||
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ifms main.go
|