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

cmd/go: clarify relative import paths and modules in documentation #30131

Open
perillo opened this issue Feb 8, 2019 · 1 comment
Open

cmd/go: clarify relative import paths and modules in documentation #30131

perillo opened this issue Feb 8, 2019 · 1 comment
Labels
Documentation modules NeedsFix
Milestone

Comments

@perillo
Copy link
Contributor

@perillo perillo commented Feb 8, 2019

In the documentation for cmd/go, at the end of the section about relative import paths
https://golang.org/cmd/go/#hdr-Remote_import_paths, the text says:

To avoid ambiguity, Go programs cannot use relative import paths within a work space.

The documentation should also add that relative import paths don't work with modules.

@bcmills bcmills added modules NeedsFix labels Feb 12, 2019
@bcmills bcmills added this to the Go1.13 milestone Feb 12, 2019
@gopherbot
Copy link

@gopherbot gopherbot commented May 21, 2019

Change https://golang.org/cl/178120 mentions this issue: doc: Clarify relative import paths don't work with modules.

@andybons andybons removed this from the Go1.13 milestone Jul 8, 2019
@andybons andybons added this to the Go1.14 milestone Jul 8, 2019
@rsc rsc removed this from the Go1.14 milestone Oct 9, 2019
@rsc rsc added this to the Backlog milestone Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation modules NeedsFix
Projects
None yet
Development

No branches or pull requests

5 participants