Commit 0cd2999c authored by Andrew Gerrand's avatar Andrew Gerrand

cmd/go: replace code.google.com examples in docs with relevant repos

Change-Id: I625c9df161da2febdca85741c75fc32d4bef420b
Reviewed-on: https://go-review.googlesource.com/13344Reviewed-by: default avatarRob Pike <r@golang.org>
parent abe70aff
...@@ -521,9 +521,10 @@ List lists the packages named by the import paths, one per line. ...@@ -521,9 +521,10 @@ List lists the packages named by the import paths, one per line.
The default output shows the package import path: The default output shows the package import path:
code.google.com/p/google-api-go-client/books/v1 bytes
code.google.com/p/goauth2/oauth encoding/json
code.google.com/p/sqlite github.com/gorilla/mux
golang.org/x/net/html
The -f flag specifies an alternate format for the list, using the The -f flag specifies an alternate format for the list, using the
syntax of package template. The default output is equivalent to -f 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 ...@@ -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 unique prefix that belongs to you. For example, paths used
internally at Google all begin with 'google', and paths internally at Google all begin with 'google', and paths
denoting remote repositories begin with the path to the code, 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 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 single directory, the command is applied to a single synthesized
......
...@@ -77,7 +77,7 @@ By convention, this is arranged by starting each path with a ...@@ -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 unique prefix that belongs to you. For example, paths used
internally at Google all begin with 'google', and paths internally at Google all begin with 'google', and paths
denoting remote repositories begin with the path to the code, 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 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 single directory, the command is applied to a single synthesized
......
...@@ -21,9 +21,10 @@ List lists the packages named by the import paths, one per line. ...@@ -21,9 +21,10 @@ List lists the packages named by the import paths, one per line.
The default output shows the package import path: The default output shows the package import path:
code.google.com/p/google-api-go-client/books/v1 bytes
code.google.com/p/goauth2/oauth encoding/json
code.google.com/p/sqlite github.com/gorilla/mux
golang.org/x/net/html
The -f flag specifies an alternate format for the list, using the The -f flag specifies an alternate format for the list, using the
syntax of package template. The default output is equivalent to -f syntax of package template. The default output is equivalent to -f
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment