golang 的 rabbitmq 消费项目
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cmd_task.bat 235 B

12345678910111213
  1. @echo off
  2. set Name=task
  3. set BasePath=%~dp0
  4. set APP=%Name%.exe
  5. set CfgPath=%BasePath%etc\%Name%.yml
  6. del %BasePath%\bin\%APP%
  7. go build -o %BasePath%\bin\%APP% %BasePath%\cmd\%Name%\main.go && %BasePath%\bin\%APP% -c=%CfgPath%
  8. pause