-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
cleanup: replace "x/net/context" import with "context" #2439
Conversation
set -o pipefail | ||
git reset --hard HEAD | ||
# END TODO | ||
go tool vet -all . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still modify user's code? Is git status --porcelain
at the beginning of this file still necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still do the go generate
check based on that, so we do still need it.
@@ -4,8 +4,9 @@ | |||
package mock_helloworld | |||
|
|||
import ( | |||
context "context" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this changed manually? (Same question for route_guide mock)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll revert it. We should really have these hooked up with go generate
too.
Fixes #711