]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: replace code.google.com examples in docs with relevant repos
authorAndrew Gerrand <adg@golang.org>
Fri, 7 Aug 2015 03:40:04 +0000 (13:40 +1000)
committerAndrew Gerrand <adg@golang.org>
Fri, 7 Aug 2015 05:52:11 +0000 (05:52 +0000)
Change-Id: I625c9df161da2febdca85741c75fc32d4bef420b
Reviewed-on: https://go-review.googlesource.com/13344
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/help.go
src/cmd/go/list.go

index 512ed61cd3d28abc9e877977230c3b28831fa855..6077d93a436f4a440bdb9b955095625900ef90b9 100644 (file)
@@ -521,9 +521,10 @@ List lists the packages named by the import paths, one per line.
 
 The default output shows the package import path:
 
-    code.google.com/p/google-api-go-client/books/v1
-    code.google.com/p/goauth2/oauth
-    code.google.com/p/sqlite
+    bytes
+    encoding/json
+    github.com/gorilla/mux
+    golang.org/x/net/html
 
 The -f flag specifies an alternate format for the list, using the
 syntax of package template.  The default output is equivalent to -f
@@ -1284,7 +1285,7 @@ By convention, this is arranged by starting each path with a
 unique prefix that belongs to you.  For example, paths used
 internally at Google all begin with 'google', and paths
 denoting remote repositories begin with the path to the code,
-such as 'code.google.com/p/project'.
+such as 'github.com/user/repo'.
 
 As a special case, if the package list is a list of .go files from a
 single directory, the command is applied to a single synthesized
index 0bc5ef95fbd8b5f9a56fd8aa5eef739d8e27f8cc..5dff2670f1b990471dee5a4338fee5e3ee9ab6a8 100644 (file)
@@ -77,7 +77,7 @@ By convention, this is arranged by starting each path with a
 unique prefix that belongs to you.  For example, paths used
 internally at Google all begin with 'google', and paths
 denoting remote repositories begin with the path to the code,
-such as 'code.google.com/p/project'.
+such as 'github.com/user/repo'.
 
 As a special case, if the package list is a list of .go files from a
 single directory, the command is applied to a single synthesized
index f59c82eadfd9c2126a2c26aa9a835be52e1d3d41..35c7cc4f2a73a8168570695625c88f6a2b56700e 100644 (file)
@@ -21,9 +21,10 @@ List lists the packages named by the import paths, one per line.
 
 The default output shows the package import path:
 
-    code.google.com/p/google-api-go-client/books/v1
-    code.google.com/p/goauth2/oauth
-    code.google.com/p/sqlite
+    bytes
+    encoding/json
+    github.com/gorilla/mux
+    golang.org/x/net/html
 
 The -f flag specifies an alternate format for the list, using the
 syntax of package template.  The default output is equivalent to -f