nacos config

This commit is contained in:
eson 2023-09-20 17:57:13 +08:00
parent 82a8dfa953
commit bc3cc55693
2 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ run_server() {
# 导航到相应的目录
cd server/$server_name
go build -ldflags "-w -s" -gcflags "-N -l"
go build -ldflags "-w -s" -gcflags "-N -l" -linkshared
[ -f .gitignore ] || echo $server_name > .gitignore
# 使用 screen 运行 go run <server_name>.go
screen -dmS $server_name -L ./$server_name

1
server/order/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
order