The page (https://golang.org/cmd/go/#hdr-Remote_import_paths) mentions

For example, 
>
>     import "example.org/pkg/foo"
>
> will result in the following requests: 
>
>     https://example.org/pkg/foo?go-get=1 (preferred)    
> http://example.org/pkg/foo?go-get=1  (fallback, only with -insecure)
>
> If that page contains the meta tag 
>
>     <meta name="go-import" content="example.org git 
> https://code.org/r/p/exproj";>
>
> the go tool will verify that https://example.org/?go-get=1 contains the 
> same meta tag 
>
and then git clone https://code.org/r/p/exproj into GOPATH/src/example.org. 
>

But I can't find the go-import meta in page "https://golang.org/?go-get=1";.
The meta does exist in page "https://golang.org/x/text?go-get=1";.
Doc mistake?

$ curl -s  https://golang.org/x/text?go-get=1 | grep go-import
<meta name="go-import" content="golang.org/x/text git 
https://go.googlesource.com/text";>
$
$ curl -s  https://golang.org/?go-get=1 | grep go-import
$

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to