aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/stack.c
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2014-05-27 14:37:36 -0700
committerRob Pike <r@golang.org>2014-05-27 14:37:36 -0700
commit7f638e90231e56c523ae51ba18dbbf084db8b86e (patch)
tree554028277a462b042df7fba6a9619ad0ef87d736 /src/pkg/runtime/stack.c
parent0a8ce65c7a32f991e6a147165c2d0ff86b1db2f6 (diff)
downloadgo-7f638e90231e56c523ae51ba18dbbf084db8b86e.tar.xz
cmd/go: improve error message when import path contains http://
Common mistake (at least for me) because hg etc. require the prefix while the go command forbids it. Before: % go get http://code.google.com/p/go.text/unicode/norm package http:/code.google.com/p/go.text/unicode/norm: unrecognized import path "http:/code.google.com/p/go.text/unicode/norm" After: % go get http://code.google.com/p/go.text/unicode/norm package http:/code.google.com/p/go.text/unicode/norm: "http://" not allowed in import path LGTM=ruiu, rsc R=rsc, ruiu CC=golang-codereviews https://golang.org/cl/97630046
Diffstat (limited to 'src/pkg/runtime/stack.c')
0 files changed, 0 insertions, 0 deletions