Skip to content

golang_org/... in import #17548

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

Closed
quchunguang opened this issue Oct 22, 2016 · 3 comments
Closed

golang_org/... in import #17548

quchunguang opened this issue Oct 22, 2016 · 3 comments

Comments

@quchunguang
Copy link

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.7 and HEAD now

What operating system and processor architecture are you using (go env)?

any

What did you do?

This cause atom generate many import error message. And of course, cannot build.
For src\net\http\h2_bundle.go file are go:generate by tool, may this issue is from the tool.

What did you expect to see?

src\net\http\h2_bundle.go

    "golang.org/x/net/http2/hpack"
    "golang.org/x/net/idna"
    "golang.org/x/net/lex/httplex"

What did you see instead?

src\net\http\h2_bundle.go

    "golang_org/x/net/http2/hpack"
    "golang_org/x/net/idna"
    "golang_org/x/net/lex/httplex"
@quentinmit
Copy link
Contributor

I do not know what the "atom" tool is in this context, but these import paths are correct. These packages are vendored with these paths, which means they can be found in src/vendor/golang_org/x/net.

See #17326 for being able to change the path back to golang.org.

@davecheney
Copy link
Contributor

Those packages exist inside GOROOT/src/vendor. Is this an atom bug?

On Sat, 22 Oct 2016, 12:51 Kevin Qu [email protected] wrote:

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?

1.7 and HEAD now
What operating system and processor architecture are you using (go env)?

any
What did you do?

This cause atom generate many import error message. And of course, cannot
build.
For src\net\http\h2_bundle.go file are go:generate by tool, may this
issue is from the tool.
What did you expect to see?

src\net\http\h2_bundle.go

"golang.org/x/net/http2/hpack"
"golang.org/x/net/idna"
"golang.org/x/net/lex/httplex"

What did you see instead?

src\net\http\h2_bundle.go

"golang_org/x/net/http2/hpack"
"golang_org/x/net/idna"
"golang_org/x/net/lex/httplex"


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#17548, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcAzLrgy7JJX1OMuZaqmpN7C2-w0Blks5q2Ww3gaJpZM4KduZa
.

@minux
Copy link
Member

minux commented Oct 25, 2016 via email

@golang golang locked and limited conversation to collaborators Oct 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants