Commit 9dba3387 authored by Jaana Burcu Dogan's avatar Jaana Burcu Dogan

doc: replace code.google.com/p/sitesearch with its new destination

Fixes #16910.

Change-Id: I0e97e88bee0361cd3621cacd1d4b84e6e42af718
Reviewed-on: https://go-review.googlesource.com/32424Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent a42ba23d
...@@ -164,14 +164,14 @@ red-black tree. We can install both with the "<code>go get</code>" ...@@ -164,14 +164,14 @@ red-black tree. We can install both with the "<code>go get</code>"
subcommand:</p> subcommand:</p>
<pre> <pre>
$ go get code.google.com/p/codesearch/index $ go get github.com/google/codesearch/index
$ go get github.com/petar/GoLLRB/llrb $ go get github.com/petar/GoLLRB/llrb
$ $
</pre> </pre>
<p>Both of these projects are now downloaded and installed into our <p>Both of these projects are now downloaded and installed into our
<code>$GOPATH</code> directory. The one tree now contains the two directories <code>$GOPATH</code> directory. The one tree now contains the two directories
<code>src/code.google.com/p/codesearch/index/</code> and <code>src/github.com/google/codesearch/index/</code> and
<code>src/github.com/petar/GoLLRB/llrb/</code>, along with the compiled <code>src/github.com/petar/GoLLRB/llrb/</code>, along with the compiled
packages (in <code>pkg/</code>) for those libraries and their dependencies.</p> packages (in <code>pkg/</code>) for those libraries and their dependencies.</p>
...@@ -185,12 +185,12 @@ the pattern "<code>./...</code>" means start in the current directory ...@@ -185,12 +185,12 @@ the pattern "<code>./...</code>" means start in the current directory
<pre> <pre>
$ go list ./... $ go list ./...
code.google.com/p/codesearch/cmd/cgrep github.com/google/codesearch/cmd/cgrep
code.google.com/p/codesearch/cmd/cindex github.com/google/codesearch/cmd/cindex
code.google.com/p/codesearch/cmd/csearch github.com/google/codesearch/cmd/csearch
code.google.com/p/codesearch/index github.com/google/codesearch/index
code.google.com/p/codesearch/regexp github.com/google/codesearch/regexp
code.google.com/p/codesearch/sparse github.com/google/codesearch/sparse
github.com/petar/GoLLRB/example github.com/petar/GoLLRB/example
github.com/petar/GoLLRB/llrb github.com/petar/GoLLRB/llrb
$ $
...@@ -200,12 +200,12 @@ $ ...@@ -200,12 +200,12 @@ $
<pre> <pre>
$ go test ./... $ go test ./...
? code.google.com/p/codesearch/cmd/cgrep [no test files] ? github.com/google/codesearch/cmd/cgrep [no test files]
? code.google.com/p/codesearch/cmd/cindex [no test files] ? github.com/google/codesearch/cmd/cindex [no test files]
? code.google.com/p/codesearch/cmd/csearch [no test files] ? github.com/google/codesearch/cmd/csearch [no test files]
ok code.google.com/p/codesearch/index 0.239s ok github.com/google/codesearch/index 0.203s
ok code.google.com/p/codesearch/regexp 0.021s ok github.com/google/codesearch/regexp 0.017s
? code.google.com/p/codesearch/sparse [no test files] ? github.com/google/codesearch/sparse [no test files]
? github.com/petar/GoLLRB/example [no test files] ? github.com/petar/GoLLRB/example [no test files]
ok github.com/petar/GoLLRB/llrb 0.231s ok github.com/petar/GoLLRB/llrb 0.231s
$ $
...@@ -215,18 +215,18 @@ $ ...@@ -215,18 +215,18 @@ $
current directory:</p> current directory:</p>
<pre> <pre>
$ cd $GOPATH/src/code.google.com/p/codesearch/regexp $ cd $GOPATH/src/github.com/google/codesearch/regexp
$ go list $ go list
code.google.com/p/codesearch/regexp github.com/google/codesearch/regexp
$ go test -v $ go test -v
=== RUN TestNstateEnc === RUN TestNstateEnc
--- PASS: TestNstateEnc (0.00 seconds) --- PASS: TestNstateEnc (0.00s)
=== RUN TestMatch === RUN TestMatch
--- PASS: TestMatch (0.01 seconds) --- PASS: TestMatch (0.00s)
=== RUN TestGrep === RUN TestGrep
--- PASS: TestGrep (0.00 seconds) --- PASS: TestGrep (0.00s)
PASS PASS
ok code.google.com/p/codesearch/regexp 0.021s ok github.com/google/codesearch/regexp 0.018s
$ go install $ go install
$ $
</pre> </pre>
......
...@@ -197,7 +197,7 @@ var downloadCache = map[string]bool{} ...@@ -197,7 +197,7 @@ var downloadCache = map[string]bool{}
// downloadRootCache records the version control repository // downloadRootCache records the version control repository
// root directories we have already considered during the download. // root directories we have already considered during the download.
// For example, all the packages in the code.google.com/p/codesearch repo // For example, all the packages in the github.com/google/codesearch repo
// share the same root (the directory for that path), and we only need // share the same root (the directory for that path), and we only need
// to run the hg commands to consider each repository once. // to run the hg commands to consider each repository once.
var downloadRootCache = map[string]bool{} var downloadRootCache = map[string]bool{}
......
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