GitHub user taozle reopened a pull request: https://github.com/apache/thrift/pull/1309
Use build tags to support context. As the comment in https://issues.apache.org/jira/browse/THRIFT-4236, this PR use build tags to support context in go1.7 above. You can merge this pull request into a Git repository by running: $ git pull https://github.com/taozle/thrift context Alternatively you can review and apply these changes as the patch at: https://github.com/apache/thrift/pull/1309.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1309 ---- commit 0df5965eb2a35793f19de1b2696e3c4afb6b5132 Author: taozle <zhangliyan...@gmail.com> Date: 2017-07-17T16:40:42Z Use build tags to support context. commit e610d07370f55314fa674810cee4574006a15238 Author: taozle <zhangliyan...@gmail.com> Date: 2017-07-19T15:47:35Z Use x/net/context to support go<1.7. commit 3d4eb9a967317cca7ea6f9e668e80fd06e0651ac Author: taozle <zhangliyan...@gmail.com> Date: 2017-07-19T16:13:59Z Add legacy_context in go generator. commit fdee27a80401107fc96c7aee7c2f8e14adaa425a Author: taozle <zhangliyan...@gmail.com> Date: 2017-07-19T16:37:29Z Fix go test dependency. commit 88d2fc00c2d8c0a3b6f48fbfea42b02fb7c6080c Author: taozle <zhangliyan...@gmail.com> Date: 2017-07-19T17:13:39Z Fix GOPATH not set. commit 8d052a6a97b295021277da29dbc87cf73deb3009 Author: taozle <zhangliyan...@gmail.com> Date: 2017-07-20T02:51:11Z Get x/net/context in lib/go. commit acf418d6f6c0c75afd8ddaa6263f30e1987a6bfc Author: taozle <zhangliyan...@gmail.com> Date: 2017-07-20T06:13:26Z Fix go tests. commit 6451d1419747fb5bc011391872d1afdb6d1f3b1e Author: taozle <zhangliyan...@gmail.com> Date: 2017-07-20T08:39:36Z Fix go tests in /lib/go/test/tests. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---