text file busy
Text file busy 问题粗解
1. 问题起源 接手一个评论的项目,是用golang写的,采用了gin的web框架 发现里面并没有做热重启,尝试去了解了一下文档 推荐了一个endless的平滑重启库 当我尝试里面写的事例时候,会报错 文档里面提及的操作如下: Compile the example $ go build -o simple_server examples/simple.go Run it $ ./simple_server 2015/03/22 20:03:29 PID: 2710 localhost:4242 Make a request $ curl http://localhost:4242/hello WORLD! Change the handler - eg. replace