fix: 更新restagent为omc
This commit is contained in:
@@ -66,7 +66,7 @@ ssh -P 18122 root@192.168.9.58 # arm64 ubuntu:18.04
|
||||
|
||||
```sh
|
||||
# 安装 Go版本 1.21.6 后进入项目根目录
|
||||
cd ./restagent
|
||||
cd /ems_backend
|
||||
# 下载依赖
|
||||
go mod download
|
||||
|
||||
@@ -85,7 +85,7 @@ go tool pprof -http=:9090 http://127.0.0.1:33060/debug/pprof/heap
|
||||
swag init -d ./ -g main.go -o ./swagger_docs
|
||||
swag fmt -d ./ -g main.go
|
||||
|
||||
# 打包命名 restagent
|
||||
# 打包命名 omc
|
||||
go build -ldflags="-s -w" -o omc
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user