-
Notifications
You must be signed in to change notification settings - Fork 569
context pkg seems to import fmt #954
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
Comments
According to this article: https://forum.golangbridge.org/t/removing-context-packages-dependency-on-fmt/6404 At some point, context package did import "fmt". Maybe gopherjs is using an "old" version of context? |
Ok I see go1.12 context imports fmt. @dmitshur when will gopherjs support v1.13? |
For anyone interested: I have implemented a context package that doesn't use fmt for GopherJS purposes. It uses Francesc Campoy's code with some adjustments. I recommend you use it until GopherJS supports Go1.13 or 1.14. |
I've worked hard to make sure that I don't import directly or indirectly "fmt" package.
I'm looking at the generated gopher code. For some reason, the
context
package is importing "fmt" when it should not be: https://godoc.org/context?import-graphI don't seem to know why.
The text was updated successfully, but these errors were encountered: