ifms_go/README.md

47 lines
610 B
Markdown
Raw Permalink Normal View History

2025-06-10 17:50:46 +08:00
# 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