Skip to content
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

Merged
merged 2 commits into from
Nov 12, 2018

Conversation

dfawley
Copy link
Member

@dfawley dfawley commented Nov 5, 2018

Fixes #711

set -o pipefail
git reset --hard HEAD
# END TODO
go tool vet -all .
Copy link
Contributor

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?

Copy link
Member Author

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"
Copy link
Contributor

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)

Copy link
Member Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go 1.7 uses import "context"
2 participants