From 399a36a634d58f14f1945b83a84b884c9dfb72da Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 15 Jan 2013 19:25:16 +1100 Subject: [PATCH] doc: fix various fragment links R=dsymonds CC=golang-dev https://golang.org/cl/7094058 --- doc/articles/c_go_cgo.html | 4 ++-- doc/articles/go_command.html | 2 +- doc/articles/laws_of_reflection.html | 2 +- doc/code.html | 4 ++-- doc/go_faq.html | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/articles/c_go_cgo.html b/doc/articles/c_go_cgo.html index ac6bb29a2f..967f57e784 100644 --- a/doc/articles/c_go_cgo.html +++ b/doc/articles/c_go_cgo.html @@ -149,9 +149,9 @@ is more complex than a single function call), as in this rewrite of

-To build cgo packages, just use " +To build cgo packages, just use " go build" or -"go install +"go install " as usual. The go tool recognizes the special "C" import and automatically uses cgo for those files.

diff --git a/doc/articles/go_command.html b/doc/articles/go_command.html index e72e7acd80..fddca41e23 100644 --- a/doc/articles/go_command.html +++ b/doc/articles/go_command.html @@ -48,7 +48,7 @@ had to be installed in certain places, under certain names, using certain build tools, in order to be used. That's understandable: that's the way it works in most other languages. Over the last few years we consistently reminded people about the goinstall command -(now replaced by go get) +(now replaced by go get) and its conventions: first, that the import path is derived in a known way from the URL of the source code; second, that the place to store the sources in the local file system is derived in a known way from the import path; third, diff --git a/doc/articles/laws_of_reflection.html b/doc/articles/laws_of_reflection.html index 826a054f2e..81f6697ce5 100644 --- a/doc/articles/laws_of_reflection.html +++ b/doc/articles/laws_of_reflection.html @@ -213,7 +213,7 @@ type: float64 You might be wondering where the interface is here, since the program looks like it's passing the float64 variable x, not an interface value, to reflect.TypeOf. But it's there; as -godoc reports, the signature of +godoc reports, the signature of reflect.TypeOf includes an empty interface:

diff --git a/doc/code.html b/doc/code.html index 096f5bfc9e..3ebb0bc9f9 100644 --- a/doc/code.html +++ b/doc/code.html @@ -406,7 +406,7 @@ ok example/newmath 0.165s

-Run go help test and see the +Run go help test and see the testing package documentation for more detail.

@@ -486,7 +486,7 @@ is a list of external Go projects including programs and libraries.

For more information on using remote repositories with the go command, see -go help remote. +go help remote.

diff --git a/doc/go_faq.html b/doc/go_faq.html index 69296bc27b..ab37696f0f 100644 --- a/doc/go_faq.html +++ b/doc/go_faq.html @@ -1263,7 +1263,7 @@ each closure shares that single variable. When the closure runs, it prints the value of v at the time fmt.Println is executed, but v may have been modified since the goroutine was launched. To help detect this and other problems before they happen, run -go vet. +go vet.

@@ -1359,7 +1359,7 @@ builds a test binary, and runs it.

See the How to Write Go Code document, the testing package -and the go test subcommand for more details. +and the go test subcommand for more details.

-- 2.48.1