diff --git a/doc/cmd.html b/doc/cmd.html index b8bdcdadecc..725666f1de5 100644 --- a/doc/cmd.html +++ b/doc/cmd.html @@ -62,7 +62,7 @@ details.
"go test -coverprofile"
.
@@ -83,13 +83,13 @@ gofmt command with more general options.A similar explanation is available as a -screencast. +screencast.
@@ -508,7 +508,7 @@ revision control system such as Git or Mercurial. Thego
tool uses
this property to automatically fetch packages from remote repositories.
For instance, the examples described in this document are also kept in a
Mercurial repository hosted at Google Code,
-code.google.com/p/go.example
.
+code.google.com/p/go.example
.
If you include the repository URL in the package's import path,
go get
will fetch, build, and install it automatically:
@@ -569,8 +569,8 @@ import "code.google.com/p/go.example/newmath"
This convention is the easiest way to make your Go packages available for others to use. -The Go Wiki -and godoc.org +The Go Wiki +and godoc.org provide lists of external Go projects.
@@ -584,7 +584,7 @@ For more information on using remote repositories with thego
tool,
Subscribe to the -golang-announce +golang-announce mailing list to be notified when a new stable version of Go is released.
@@ -594,7 +594,7 @@ clear, idiomatic Go code.-Take A Tour of Go to learn the language +Take A Tour of Go to learn the language proper.
@@ -613,10 +613,10 @@ For real-time help, ask the helpful gophers in#go-nuts
on the
The official mailing list for discussion of the Go language is -Go Nuts. +Go Nuts.
Report bugs using the -Go issue tracker. +Go issue tracker.
diff --git a/doc/contrib.html b/doc/contrib.html index 6529c91d559..a615fc67a34 100644 --- a/doc/contrib.html +++ b/doc/contrib.html @@ -9,7 +9,7 @@Go is an open source project developed by a team at -Google and many +Google and many contributors from the open source community.
@@ -17,13 +17,13 @@ Go is an open source project developed by a team at Go is distributed under a BSD-style license. -A low traffic mailing list for important announcements, such as new releases.
We encourage all Go users to subscribe to -golang-announce. +golang-announce.
@@ -72,9 +72,9 @@ href="https://groups.google.com/group/golang-nuts">golang-nuts.A mailing list that receives a message summarizing each checkin to the Go repository.
A mailing list that receives each update to the Go issue tracker.
+A mailing list that receives each update to the Go issue tracker.
-View the status of Go builds across the supported operating systems and architectures.
diff --git a/doc/devel/release.html b/doc/devel/release.html index 3a3d5bc136a..0824463f4cd 100644 --- a/doc/devel/release.html +++ b/doc/devel/release.html @@ -3,7 +3,7 @@ }-->This page summarizes the changes between official stable releases of Go. -The Mercurial change log +The Mercurial change log has the full details.
To update to a specific release, use:
@@ -31,12 +31,12 @@ Read the Go 1.2 Release Notes for more information.
go1.2.1 (released 2014/03/02) includes bug fixes to the runtime
, net
, and database/sql
packages.
-See the change history for details.
+See the change history for details.
go1.2.2 (released 2014/05/05) includes a -security fix +security fix that affects the tour binary included in the binary distributions (thanks to Guillaume T).
@@ -51,18 +51,18 @@ Read the Go 1.1 Release Notes for more information.go1.1.1 (released 2013/06/13) includes several compiler and runtime bug fixes. -See the change history for details. +See the change history for details.
go1.1.2 (released 2013/08/13) includes fixes to the gc
compiler
and cgo
, and the bufio
, runtime
,
syscall
, and time
packages.
-See the change history for details.
+See the change history for details.
If you use package syscall's Getrlimit
and Setrlimit
functions under Linux on the ARM or 386 architectures, please note change
-55ac276af5a7
-that fixes issue 5949.
+55ac276af5a7
+that fixes issue 5949.
go1.0.1 (released 2012/04/25) was issued to -fix an -escape analysis -bug that can lead to memory corruption. +fix an +escape analysis bug +that can lead to memory corruption. It also includes several minor code and documentation fixes.
go1.0.2 (released 2012/06/13) was issued to fix two bugs in the implementation of maps using struct or array keys: -issue 3695 and -issue 3573. +issue 3695 and +issue 3573. It also includes many minor code and documentation fixes.
@@ -107,7 +107,7 @@ go1.0.3 (released 2012/09/21) includes minor code and documentation fixes.-See the go1 release branch history for the complete list of changes. +See the go1 release branch history for the complete list of changes.
r60.1 includes a
-linker
+linker
fix, a pair of
-goplay
-fixes,
+goplay
+fixes,
and a json
package
-fix and
+fix and
a new
-struct tag
+struct tag
option.
r60.2 -fixes +fixes a memory leak involving maps.
r60.3 fixes a -reflect bug. +reflect bug.
goto
. In essence, a goto
statement outside a block
cannot jump to a label inside that block. Your code may require changes if it
uses goto
.
-See this
+See this
changeset for how the new rule affected the Go tree.
@@ -328,13 +328,13 @@ This section highlights the most significant changes in this release.
For a more detailed summary, see the
weekly release notes.
For complete information, see the
-Mercurial change list.
+Mercurial change list.
-This release fixes a use of uninitialized memory in programs that misuse goto
.
+This release fixes a use of uninitialized memory in programs that misuse goto
.
r58.1 adds -build and -runtime +build and +runtime changes to make Go run on OS X 10.7 Lion.
@@ -408,7 +408,7 @@ This section highlights the most significant changes in this release. For a more detailed summary, see the weekly release notes. For complete information, see the -Mercurial change list. +Mercurial change list.The new gofix tool finds Go programs that use old APIs and rewrites them to use @@ -419,7 +419,7 @@ future changes to the libraries. Gofix can’t handle all situations perfectly, so read and test the changes it makes before committing them. -See the gofix blog post for more +See the gofix blog post for more information.
v
, switch on v.Kind()
.
Typeof and NewValue are now called TypeOf and ValueOf
To create a writable Value, use New(t).Elem()
instead of Zero(t)
.
-See the change description
+See the change description
for the full details.
The new API allows a more efficient implementation of Value
that avoids many of the allocations required by the previous API.
@@ -545,8 +545,8 @@ For other uses, see the runtime/pprof document
r57.1 fixes a nil pointer dereference in http.FormFile.
-r57.2 fixes a use of uninitialized memory in programs that misuse goto
.
r57.1 fixes a nil pointer dereference in http.FormFile.
+r57.2 fixes a use of uninitialized memory in programs that misuse goto
.
This page summarizes the changes between tagged weekly snapshots of Go. Such snapshots are no longer created. This page remains as a historical reference only.
-For recent information, see the Mercurial change log and development mailing list.
+For recent information, see the Mercurial change log and development mailing list.
An interactive introduction to Go in three sections. The first section covers basic syntax and data structures; the second discusses methods and interfaces; and the third introduces Go's concurrency primitives. Each section concludes with a few exercises so you can practice what you've -learned. You can take the tour online or -install it locally. +learned. You can take the tour online or +install it locally.
Also available as a -screencast, this doc +screencast, this doc explains how to use the go command to fetch, build, and install packages, commands, and run tests.
@@ -103,7 +103,7 @@ same variable in a different goroutine.The official blog of the Go project, featuring news and in-depth articles by the Go team and guests.
@@ -169,17 +169,17 @@ interfaces, reflection, and concurrency. Builds a toy web crawler to demonstrate these. -One of Go's key design goals is code adaptability; that it should be easy to take a simple design and build upon it in a clean and natural way. In this talk Andrew Gerrand describes a simple "chat roulette" server that matches pairs of incoming TCP connections, and then use Go's concurrency mechanisms, interfaces, and standard library to extend it with a web interface and other features. While the function of the program changes dramatically, Go's flexibility preserves the original design as it grows.
-Concurrency is the key to designing high performance network services. Go's concurrency primitives (goroutines and channels) provide a simple and efficient means of expressing concurrent execution. In this talk we see how tricky concurrency problems can be solved gracefully with simple Go code.
-This talk expands on the Go Concurrency Patterns talk to dive deeper into Go's concurrency primitives.
diff --git a/doc/effective_go.html b/doc/effective_go.html index 25266d6abac..c1e310796be 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -28,7 +28,7 @@ will be easy for other Go programmers to understand.This document gives tips for writing clear, idiomatic Go code. It augments the language specification, -the Tour of Go, +the Tour of Go, and How to Write Go Code, all of which you should read first. @@ -43,8 +43,8 @@ only as the core library but also as examples of how to use the language. Moreover, many of the packages contain working, self-contained executable examples you can run directly from the -golang.org web site, such as -this one (if +golang.org web site, such as +this one (if necessary, click on the word "Example" to open it up). If you have a question about how to approach a problem or how something might be implemented, the documentation, code and examples in the @@ -3214,7 +3214,7 @@ Although the concurrency features of Go can make some problems easy to structure as parallel computations, Go is a concurrent language, not a parallel one, and not all parallelization problems fit Go's model. For a discussion of the distinction, see the talk cited in -this +this blog post.
The master sources for the gccgo frontend may be found at
-http://code.google.com/p/gofrontend.
+http://code.google.com/p/gofrontend.
The master sources are not buildable by themselves, but only in
conjunction with GCC (in the future, other compilers may be
supported). Changes made to the gccgo frontend are also applied to
@@ -40,7 +40,7 @@ is mirrored to the gcc/go/gofrontend
directory in the GCC
repository, and the gofrontend
libgo
directory is mirrored to the GCC libgo
directory. In
addition, the test
directory
-from the main Go repository
+from the main Go repository
is mirrored to the gcc/testsuite/go.test/test
directory
in the GCC repository.
gcc/go/gofrontend
to gcc/go
.
The run-time library for gccgo is mostly the same as the library
-in the main Go repository.
+in the main Go repository.
The library code in the Go repository is periodically merged into
the
Due to the change of the
Further details are in the
-design document.
+design document.
@@ -115,7 +115,7 @@ It is possible that future releases of Go may introduce default values for these
Further details are in the
-design document.
+design document.
@@ -199,7 +199,7 @@ compiler to build any pieces of the linked-to library that are written in C++;
Both binaries are still included with the distribution, but the source code for the
godoc and vet commands has moved to the
-go.tools subrepository.
+go.tools subrepository.
@@ -218,7 +218,7 @@ no client Go code depends on the their source and no updating is required.
-The binary distributions available from golang.org
+The binary distributions available from golang.org
include these binaries, so users of these distributions are unaffected.
libgo/go
directory of the gofrontend
and
then the GCC repositories, using the shell
diff --git a/doc/go1.1.html b/doc/go1.1.html
index 87d5f5c8768..825867f4420 100644
--- a/doc/go1.1.html
+++ b/doc/go1.1.html
@@ -304,7 +304,7 @@ The race detector is documented in a
int
to 64 bits and
-a new internal representation of functions,
+a new internal representation of functions,
the arrangement of function arguments on the stack has changed in the gc tool chain.
Functions written in assembly will need to be revised at least
to adjust frame pointer offsets.
diff --git a/doc/go1.2.html b/doc/go1.2.html
index c7a9f844264..b9d36f29c3d 100644
--- a/doc/go1.2.html
+++ b/doc/go1.2.html
@@ -63,7 +63,7 @@ The implementation may inject extra tests into the compiled program to enforce t
TextUnmarshaler
.
Full details are in the documentation for the package
-and a separate design document.
+and a separate design document.
GOARCH=386
) and also on
There is not yet support for Native Client on ARM.
Note that this is Native Client (NaCl), not Portable Native Client (PNaCl).
Details about Native Client are here;
-how to set up the Go version is described here.
+how to set up the Go version is described here.
@@ -154,7 +154,7 @@ Such code can be identified by go vet
.
Iterations over small maps no longer happen in a consistent order. -Go 1 defines that “The iteration order over maps +Go 1 defines that “The iteration order over maps is not specified and is not guaranteed to be the same from one iteration to the next.” To keep code from depending on map iteration order, Go 1.0 started each map iteration at a random index in the map. @@ -175,7 +175,7 @@ Because only small maps are affected, the problem arises most often in tests.
-As part of the general overhaul to +As part of the general overhaul to the Go linker, the compilers and linkers have been refactored. The linker is still a C program, but now the instruction selection phase that was part of the linker has been moved to the compiler through the creation of a new @@ -298,7 +298,7 @@ For example,
When invoked with the -analysis
flag,
-godoc
+godoc
now performs sophisticated static
analysis of the code it indexes.
The results of analysis are presented in both the source view and the
@@ -318,7 +318,7 @@ call sites and their callees.
The program misc/benchcmp
that compares
performance across benchmarking runs has been rewritten.
Once a shell and awk script in the main repository, it is now a Go program in the go.tools
repo.
-Documentation is here.
+Documentation is here.
diff --git a/doc/go1.html b/doc/go1.html
index a664b655553..5cf5df9296a 100644
--- a/doc/go1.html
+++ b/doc/go1.html
@@ -486,7 +486,7 @@ into subdirectories. For instance, utf8
and
utf16
now occupy subdirectories of unicode
.
Also, some packages have moved into
subrepositories of
-code.google.com/p/go
+code.google.com/p/go
while others have been deleted outright.
Because they are not standardized, the packages under the exp
directory will not be available in the
standard Go 1 release distributions, although they will be available in source code form
-in the repository for
+in the repository for
developers who wish to use them.
gotry
.
Updating:
Code that uses container/vector
should be updated to use
slices directly. See
-the Go
+the Go
Language Community Wiki for some suggestions.
Code that uses the other packages (there should be almost zero) will need to be rethought.
@@ -660,7 +660,7 @@ Code that uses the other packages (there should be almost zero) will need to be
Go 1 has moved a number of packages into other repositories, usually sub-repositories of -the main Go repository. +the main Go repository. This table lists the old and new import paths: