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

go/build, cmd/go: Imports field unclear with respect to vendoring #16164

Closed
rogpeppe opened this issue Jun 23, 2016 · 1 comment
Closed

go/build, cmd/go: Imports field unclear with respect to vendoring #16164

rogpeppe opened this issue Jun 23, 2016 · 1 comment
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@rogpeppe
Copy link
Contributor

go version devel +aa6345d Thu Jun 23 04:31:19 2016 +0000 linux/amd64

The go list command has:

    Imports []string // import paths used by this package

The go/build Package type has:

    Imports   []string                    // imports from GoFiles, CgoFiles

This does not make it clear whether the imports are absolute or relative
with respect to vendor directories (the former is absolute; the latter is not).

@bradfitz bradfitz added this to the Go1.8 milestone Jun 23, 2016
@bradfitz bradfitz added the NeedsFix The path to resolution is known, but the work has not been done. label Jun 23, 2016
@gopherbot
Copy link

CL https://golang.org/cl/32114 mentions this issue.

@golang golang locked and limited conversation to collaborators Oct 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

3 participants