Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Proposal: add context import path upgrade to go tool fix #17040
It would be convenient if
Here is a CL that I'm using to upgrade my projects: https://go-review.googlesource.com/#/c/28872/
This makes the new rewrites list read as follows:
This isn't strictly the same as some of the other rewrites in the tool because the old context package is still perfectly usable, so maybe it would be best to leave this fix off by default and allow it to be manually specified.
I've updated the CL to require