From 1144f786738dced8d0bd75460c19fb0559d5bdba Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Wed, 20 Sep 2023 18:00:46 +0800 Subject: [PATCH] nacos config --- run_all_server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_all_server.sh b/run_all_server.sh index bc0179b2..4781e447 100755 --- a/run_all_server.sh +++ b/run_all_server.sh @@ -15,7 +15,7 @@ run_server() { # 导航到相应的目录 cd server/$server_name - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-w -s" -gcflags "-N -l" -linkshared + GOOS=linux GOARCH=amd64 go build -ldflags "-w -s" -linkshared [ -f .gitignore ] || echo $server_name > .gitignore # 使用 screen 运行 go run .go screen -dmS $server_name -L ./$server_name