试过使用CTRL+C,但就是出现以下:
==================================
收到退出信号: interrupt
2025/02/16 20:34:32 7468 Received SIGINT.
2025/02/16 20:34:32 7468 Waiting for connections to finish...
2025/02/16 20:34:32 7468 Serve() returning...
2025/02/16 20:34:32 7468 [::]:62155 Listener closed.
2025/02/16 20:37:25 7468 Received SIGINT.
2025/02/16 20:37:59 7468 Received SIGINT.
后来只能用taskkill解决,怎么样才是正确的退出呢?