mirror of
https://github.com/golang/go
synced 2024-11-05 15:56:12 -07:00
d0ca3933b7
It used to rewrite golang.org/x/* imports to golang_org/x/*. But https://golang.org/cl/147443 renamed golang_org/x to internal/x, which broke the ability to run "go generate" in net/http, which runs this command. Given that net/http (and Go itself) is the only caller of cmd/bundle or the -underscore flag, repurpose it to instead rewrite the golang.org/x imports to internal/x, like CL 147443. But we keep its name out of laziness and to minimize the number of cross-repo changes needed. Change-Id: I310ce8b45812a26c8b3522eaf407fffff138b1be Reviewed-on: https://go-review.googlesource.com/c/152097 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com> |
||
---|---|---|
.. | ||
testdata | ||
.gitignore | ||
main_test.go | ||
main.go |