pomack/thrift4go — pull request #10 by carloscm (2012-03-25 20:32:31+00:00)
Title: Use SetDeadline methods for socket timeout, update code with go fix

This pull request contains two changes:

- Changes in the socket classes to remove the use of SetTimeout and replace it with SetDeadline. This is required for the weekly version of Go since SetTimeout was removed. Following the guidelines in the Go docs I am calling SetDeadline just before any Read/Write method.

- Automatic fixes in the code, performed by "go fix", which involve the use of the strconv package. Unfortunately this tool also appears to run "go fmt" internally so the file whitespace is changed and so it appears a lot of lines where changed. This is limited to only the JSON tests.