标签: go
是否有等效的方法来捕获这些超时错误,例如io.EOF
switch err { case io.EOF: //DoSomething, like close connection ... case net.?: //handle timeouts }