-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
支持context.Context #100
Comments
同问,没有 context, 跟其他golang 项目集成是个大问题 |
context要go 1.7版本才支持的吧,sdk要考虑到支持各种版本,目前不支持。 |
golang 的 context 是很重要的一个升级,尤其对于 http 相关调用,对OSS来说也很重要,尤其是主流的开源项目基本都升级了。 如果考虑兼容性的话, 个人认为这个“兼容”其实更加重要一些。 |
@rmrf 欢迎提交pr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
现在主流都是一个参数传context.Context, 用于取消请求或者设置超时
是否考虑支持一下?
The text was updated successfully, but these errors were encountered: