-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Use Go canonical import paths #29014
Comments
Add canonical imports only in existing doc.go files. https://golang.org/doc/go1.4#canonicalimports Fixes kubernetes#29014
@thockin ack. i started with a PR to fix existing doc.go's |
Automatic merge from submit-queue Use Go canonical import paths Add canonical imports only in existing doc.go files. https://golang.org/doc/go1.4#canonicalimports Fixes #29014
Add canonical imports only in existing doc.go files. https://golang.org/doc/go1.4#canonicalimports Fixes kubernetes#29014
@dims Seems like this is only half-finished... |
We should have a verification test for this as well cc @mikedanese @ixdy |
Issues go stale after 30d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Add canonical imports only in existing doc.go files. https://golang.org/doc/go1.4#canonicalimports Fixes kubernetes#29014
Automatic merge from submit-queue Use Go canonical import paths Add canonical imports only in existing doc.go files. https://golang.org/doc/go1.4#canonicalimports Fixes kubernetes#29014
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I think we should follow https://golang.org/doc/go1.4#canonicalimports and decorate all of our packages with their canonical paths. It's sort of tedious, but I have heard a few people who were unhappy that our code lives in
github.com/kubernetes/kubernetes
, but our go import isk8s.io/kubernetes
.This should at least cause a more obvious error.
I suppose that means that every package gets a doc.go with this declaration.
The text was updated successfully, but these errors were encountered: