diff options
Diffstat (limited to 'doc/go_faq.html')
-rw-r--r-- | doc/go_faq.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go_faq.html b/doc/go_faq.html index 9aac05838..759799779 100644 --- a/doc/go_faq.html +++ b/doc/go_faq.html @@ -1616,7 +1616,7 @@ Go is a fine language in which to implement a self-hosting compiler: a native lexer and parser are already available in the <a href="/pkg/go/"><code>go</code></a> package and a separate type checking -<a href="http://godoc.org/code.google.com/p/go.tools/go/types">package</a> +<a href="http://godoc.org/golang.org/x/tools/go/types">package</a> has also been written. </p> @@ -1715,7 +1715,7 @@ func main() { <p> Nowadays, most Go programmers use a tool, -<a href="http://godoc.org/code.google.com/p/go.tools/cmd/goimports">goimports</a>, +<a href="http://godoc.org/golang.org/x/tools/cmd/goimports">goimports</a>, which automatically rewrites a Go source file to have the correct imports, eliminating the unused imports issue in practice. This program is easily connected to most editors to run automatically when a Go source file is written. |