README.md | 46 ++++++++++++++++++++++------------------------ doc/contribute.html | 2 +- doc/debugging_with_gdb.html | 17 ++++++++++++++--- doc/go1.8.html | 12 ++++-------- doc/install.html | 4 ++-- misc/cgo/testplugin/src/iface/main.go | 46 ++++++++++++++++++++++++++++++++++++++++++++++ misc/cgo/testplugin/src/iface_a/a.go | 17 +++++++++++++++++ misc/cgo/testplugin/src/iface_b/b.go | 17 +++++++++++++++++ misc/cgo/testplugin/src/iface_i/i.go | 17 +++++++++++++++++ misc/cgo/testplugin/src/issue18676/dynamodbstreamsevt/definition.go | 13 +++++++++++++ misc/cgo/testplugin/src/issue18676/main.go | 31 +++++++++++++++++++++++++++++++ misc/cgo/testplugin/src/issue18676/plugin.go | 11 +++++++++++ misc/cgo/testplugin/test.bash | 16 ++++++++++++++-- misc/cgo/testshared/shared_test.go | 11 +++++++++++ misc/cgo/testshared/src/iface/main.go | 17 +++++++++++++++++ misc/cgo/testshared/src/iface_a/a.go | 17 +++++++++++++++++ misc/cgo/testshared/src/iface_b/b.go | 17 +++++++++++++++++ misc/cgo/testshared/src/iface_i/i.go | 17 +++++++++++++++++ misc/ios/go_darwin_arm_exec.go | 27 ++++++++++----------------- src/cmd/compile/internal/gc/alg.go | 8 ++++++-- src/cmd/compile/internal/gc/bimport.go | 4 +++- src/cmd/compile/internal/gc/main.go | 13 +++++++------ src/cmd/compile/internal/gc/noder.go | 1 + src/cmd/compile/internal/gc/subr.go | 4 +++- src/cmd/compile/internal/gc/walk.go | 8 ++++---- src/cmd/compile/internal/ssa/writebarrier.go | 2 +- src/cmd/go/bug.go | 7 +++---- src/cmd/go/test.go | 41 +++++++++++++++++++++++++++++++++++++---- src/cmd/link/internal/ld/pcln.go | 2 +- src/compress/bzip2/bzip2_test.go | 24 +++++++++++++++--------- src/compress/flate/deflate.go | 7 +++++-- src/compress/flate/deflate_test.go | 31 +++++++++++++++++++++++++++++++ src/compress/flate/deflatefast.go | 19 +++++++++++++++++-- src/compress/gzip/issue14937_test.go | 14 ++++++++++---- src/crypto/dsa/dsa_test.go | 4 ++-- src/crypto/tls/cipher_suites.go | 6 +++--- src/crypto/tls/tls.go | 4 ++-- src/crypto/x509/cert_pool.go | 11 ++++++++++- src/crypto/x509/root_windows.go | 5 +++++ src/crypto/x509/x509_test.go | 4 ++++ src/go/ast/scope.go | 4 +--- src/go/doc/doc_test.go | 5 ++++- src/go/parser/performance_test.go | 13 ++++--------- src/net/http/serve_test.go | 139 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/net/http/server.go | 10 +++++++++- src/net/http/transport_test.go | 114 +++++++++++++++++++++++++++++++---------------------- src/os/os_test.go | 5 ++++- src/reflect/all_test.go | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/reflect/value.go | 8 ++++++++ src/runtime/mgc.go | 12 ++++++++++-- src/runtime/plugin.go | 4 +++- src/runtime/sys_linux_amd64.s | 4 ++-- src/syscall/mkpost.go | 7 +++++++ src/syscall/ztypes_linux_s390x.go | 2 +- src/testing/benchmark.go | 7 +++++-- src/testing/sub_test.go | 17 +++++++++++++++++ src/testing/testing.go | 12 ++++++++---- src/vendor/golang_org/x/crypto/poly1305/sum_amd64.s | 10 +++++----- src/vendor/golang_org/x/crypto/poly1305/sum_arm.s | 14 +++++++------- test/fixedbugs/issue18661.go | 18 ++++++++++++++++++ diff --git a/README.md b/README.md index 281deecdfbdf1ce4e02283a878de29becad2a5b5..672cdf55686a7754f78e383440a3d5915fae528e 100644 --- a/README.md +++ b/README.md @@ -5,39 +5,37 @@ reliable, and efficient software. ![Gopher image](doc/gopher/fiveyears.jpg) -For documentation about how to install and use Go, -visit https://golang.org/ or load doc/install-source.html -in your web browser. - Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go. -Go is the work of hundreds of contributors. We appreciate your help! +Unless otherwise noted, the Go source files are distributed under the +BSD-style license found in the LICENSE file. -To contribute, please read the contribution guidelines: - https://golang.org/doc/contribute.html +### Download and Install -##### Note that we do not accept pull requests and that we use the issue tracker for bug reports and proposals only. Please ask questions on https://forum.golangbridge.org or https://groups.google.com/forum/#!forum/golang-nuts. +#### Binary Distributions -Unless otherwise noted, the Go source files are distributed -under the BSD-style license found in the LICENSE file. +Official binary distributions are available at https://golang.org/dl/. --- +After downloading a binary release, visit https://golang.org/doc/install +or load doc/install.html in your web browser for installation +instructions. -## Binary Distribution Notes +#### Install From Source -If you have just untarred a binary Go distribution, you need to set -the environment variable $GOROOT to the full path of the go -directory (the one containing this file). You can omit the -variable if you unpack it into /usr/local/go, or if you rebuild -from sources by running all.bash (see doc/install-source.html). -You should also add the Go binary directory $GOROOT/bin -to your shell's path. +If a binary distribution is not available for your combination of +operating system and architecture, visit +https://golang.org/doc/install/source or load doc/install-source.html +in your web browser for source installation instructions. -For example, if you extracted the tar file into $HOME/go, you might -put the following in your .profile: +### Contributing + +Go is the work of hundreds of contributors. We appreciate your help! - export GOROOT=$HOME/go - export PATH=$PATH:$GOROOT/bin +To contribute, please read the contribution guidelines: + https://golang.org/doc/contribute.html -See https://golang.org/doc/install or doc/install.html for more details. +Note that the Go project does not use GitHub pull requests, and that +we use the issue tracker for bug reports and proposals only. See +https://golang.org/wiki/Questions for a list of places to ask +questions about the Go language. diff --git a/doc/contribute.html b/doc/contribute.html index bcf7b25c51158057b0c868050327cbf3ac8a30b0..f1a5b2799858966c51a19111e11369d5a34584db 100644 --- a/doc/contribute.html +++ b/doc/contribute.html @@ -698,7 +698,7 @@

Code that you contribute should use the standard copyright header:

-// Copyright 2016 The Go Authors. All rights reserved.
+// Copyright 2017 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
diff --git a/doc/debugging_with_gdb.html b/doc/debugging_with_gdb.html index 52a6e76723e94b7b4743268db132dc213c91ec84..f0e65ea29126c0904086d338a7424b68b64b0897 100644 --- a/doc/debugging_with_gdb.html +++ b/doc/debugging_with_gdb.html @@ -4,7 +4,8 @@ "Path": "/doc/gdb" }-->

-This applies to the gc toolchain. Gccgo has native gdb support. +This applies to the standard toolchain (the gc Go +compiler and tools). Gccgo has native gdb support. Besides this overview you might want to consult the GDB manual.

@@ -47,6 +48,14 @@ can sometimes make debugging with gdb harder. To disable them when debugging, pass the flags -gcflags "-N -l" to the go command used to build the code being debugged. +

+ +

+If you want to use gdb to inspect a core dump, you can trigger a dump +on a program crash, on systems that permit it, by setting +GOTRACEBACK=crash in the environment (see the + runtime package +documentation for more info).

Common Operations

@@ -130,7 +139,7 @@

If you're interested in what the debugging information looks like, run -'objdump -W 6.out' and browse through the .debug_* +'objdump -W a.out' and browse through the .debug_* sections.

@@ -377,7 +386,9 @@ $3 = struct hchan<*testing.T>

-That struct hchan<*testing.T> is the runtime-internal representation of a channel. It is currently empty, or gdb would have pretty-printed it's contents. +That struct hchan<*testing.T> is the +runtime-internal representation of a channel. It is currently empty, +or gdb would have pretty-printed its contents.

diff --git a/doc/go1.8.html b/doc/go1.8.html index 2ac478632e5dec5e7f6a48c0747e34b49f32c67d..337f13d630f5a36a98c38bafd18c27715aaecf24 100644 --- a/doc/go1.8.html +++ b/doc/go1.8.html @@ -93,7 +93,8 @@

The Plan 9 port's networking support is now much more complete and matches the behavior of Unix and Windows with respect to deadlines -and cancelation. +and cancelation. For Plan 9 kernel requirements, see the +Plan 9 wiki page.

@@ -808,11 +809,6 @@

crypto/x509
-

- SystemCertPool - is now implemented on Windows. -

-

PSS signatures are now supported.

@@ -1617,9 +1613,9 @@ it already rejected dates beyond the end of the month, such as June 31 and July 32.

-

+

The tzdata database has been updated to version - 2016i for systems that don't already have a local time zone + 2016j for systems that don't already have a local time zone database.

diff --git a/doc/install.html b/doc/install.html index 2143d591cb25462cadfa43d9434c363f45d74ad2..6bff75c5a06ac60649f29be63de7fdca852562bb 100644 --- a/doc/install.html +++ b/doc/install.html @@ -250,7 +250,7 @@ $ cd $HOME/go/src/hello $ go build - -