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 The path to resolution is known, but the work has not been done.
Milestone

Comments

@perillo
Copy link
Contributor

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 The path to resolution is known, but the work has not been done. labels Feb 12, 2019
@bcmills bcmills added this to the Go1.13 milestone Feb 12, 2019
@gopherbot
Copy link

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

@andybons andybons modified the milestones: Go1.13, Go1.14 Jul 8, 2019
@rsc rsc modified the milestones: Go1.14, Backlog 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 The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

5 participants