• Russ Cox's avatar
    cmd/go: make malformed import path message more precise · b86105e8
    Russ Cox authored
    If you say 'go get -v' you get extra information when import
    paths are not of the expected form.
    
    If you say 'go get -v src/rsc.io/pdf' the message says that
    src/rsc.io/pdf does not contain a hostname, which is incorrect.
    The problem is that it does not begin with a hostname.
    
    Fixes #7432.
    
    LGTM=r
    R=golang-codereviews, r
    CC=bradfitz, golang-codereviews, iant
    https://golang.org/cl/144650043
    b86105e8
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...