fix: 更新restagent为omc

This commit is contained in:
TsMask
2025-04-01 18:44:35 +08:00
parent e02707cd0e
commit 01df7b745b
8 changed files with 12 additions and 12 deletions

View File

@@ -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
```