.github/SUPPORT => .github/SUPPORT.md | 0 doc/editors.html | 49 +++++++++++++++++++++++++++++++++++-------------- doc/go1.9.html | 36 +++++++++++++++++++++++++++++++++++- doc/root.html | 142 ++++++++++++++++++++++++++++------------------------- misc/cgo/errors/ptr.go | 8 ++++++++ misc/cgo/testsanitizers/test.bash | 29 +++++++++++++++++++---------- src/cmd/compile/internal/arm/ssa.go | 2 +- src/cmd/compile/internal/arm64/ssa.go | 2 +- src/cmd/compile/internal/gc/asm_test.go | 24 +++++++++++++++++++++++- src/cmd/compile/internal/mips/ssa.go | 2 +- src/cmd/compile/internal/mips64/ssa.go | 2 +- src/cmd/compile/internal/ppc64/ssa.go | 2 +- src/cmd/go/go_test.go | 17 +++++++++++++++++ src/cmd/go/testdata/src/testlist/bench_test.go | 14 ++++++++++++++ src/cmd/go/testdata/src/testlist/example_test.go | 21 +++++++++++++++++++++ src/cmd/go/testdata/src/testlist/test_test.go | 10 ++++++++++ src/cmd/internal/obj/arm/asm5.go | 20 ++++++++++++++++++++ src/cmd/internal/obj/arm64/asm7.go | 20 ++++++++++++++++++++ src/cmd/internal/obj/mips/asm0.go | 20 ++++++++++++++++++++ src/cmd/internal/obj/ppc64/asm9.go | 20 ++++++++++++++++++++ src/cmd/internal/obj/s390x/asmz.go | 20 ++++++++++++++++++++ src/cmd/vet/main.go | 5 +++-- src/cmd/vet/testdata/cgo/cgo3.go | 13 +++++++++++++ src/cmd/vet/vet_test.go | 12 ++++++++++++ src/encoding/binary/example_test.go | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++ src/go/ast/ast.go | 8 ++++---- src/go/parser/parser.go | 4 ++-- src/internal/poll/fd_windows.go | 21 +++++++++++++++++++-- src/math/big/ratconv.go | 4 ++-- src/math/bits/example_test.go | 40 ++++++++++++++++++++++++++++++++++++++++ src/plugin/plugin.go | 5 +++-- src/reflect/deepequal.go | 6 ++++++ src/runtime/cpuprof.go | 9 +++++++++ src/runtime/hashmap_fast.go | 8 ++++---- src/runtime/pprof/pprof_test.go | 31 +++++++++++++++++++++++++++++++ src/runtime/proc.go | 31 +++++++++++++++++++++++++++---- src/runtime/symtab.go | 5 +++++ src/testing/testing.go | 2 +- src/time/zoneinfo_windows_test.go | 8 ++++++++ test/README.md | 15 +++++++++++++++ diff --git a/.github/SUPPORT b/.github/SUPPORT.md rename from .github/SUPPORT rename to .github/SUPPORT.md diff --git a/doc/editors.html b/doc/editors.html index 1448781036a1f5f75d49c2be843a3870c30768bd..264f5af920f84af2ce45e426186ddc508911be08 100644 --- a/doc/editors.html +++ b/doc/editors.html @@ -19,11 +19,12 @@ editing, navigation, testing, and debugging experience.

@@ -41,33 +42,38 @@ - - + + + - + + + - + + + @@ -77,24 +83,28 @@ + + + - + + @@ -104,15 +114,18 @@ + + + @@ -122,36 +135,43 @@ + - + + + + + + + @@ -161,13 +181,16 @@ +

Vim Go

Visual Studio Code Go

vim

Visual Studio Code

Gogland

Atom
Editing featuresEditing features
Build and run from the editor/IDE Yes Yes YesYes
Autocompletion of identifers (variable, method, and function names) Yes Yes YesYes
Autocompletion based on typeType-aware autocompletion No No YesNo
Rename identifiersYes Yes Yes YesAuto format, build, vet, and lint on save Yes Yes Yes1Yes
Auto insert import paths and remove unused on save Yes Yes Yes2Yes
Auto generate JSON, XML tags for struct fieldsYes Yes Yes Yes
Navigation featuresNavigation features
Display documentation inline, or open godoc in browserYes Yes Yes YesSwitch between *.go and *_test.go file Yes Yes YesNo
Jump to definition and refereesYes Yes Yes Yes
Look up for interface implementationsYes Yes Yes YesSearch for callers and callees Yes Yes YesYes
Testing and debugging featuresTesting and debugging features
Debugger support No Yes YesYes3
Run a single test case, all tests from file, or all tests from a package Yes Yes YesNo
Auto generate tests for packages, files and identifiers No Yes NoNo
Debug tests No Yes YesYes3
Display test coverageYes Yes Yes Yes Install Install InstallInstall

-1: Possible when enabled via Settings > Go > On Save, go vet and golint are available via plugins. Also runs tests on save if configured. +1Possible when enabled via Settings > Go > On Save, go vet and golint are available via plugins. Also runs tests on save if configured. +
+2Additionally, user input can disambiguate when two or more options are available.
-2: Additionally, user input can disambiguate when two or more options are available. +3Available if the go-debug package is installed.

@@ -206,5 +229,3 @@ background-color: #ebebeb; font-weight: bold; } - - \ No newline at end of file diff --git a/doc/editors/go-plus.png b/doc/editors/go-plus.png new file mode 100644 index 0000000000000000000000000000000000000000..c09c7fe6756a7203964d15d079593811557c9672 Binary files /dev/null and b/doc/editors/go-plus.png differ diff --git a/doc/go1.9.html b/doc/go1.9.html index be0ceefcd5c5385f237e9525a186cb8652a584f2..7cee379c45cf4bf1bebc70eb5db3bade6c9c53e5 100644 --- a/doc/go1.9.html +++ b/doc/go1.9.html @@ -156,6 +156,21 @@ such as go test. To match vendor directories, write ./vendor/....

+

Moved GOROOT

+ +

+ The go tool will now use the path from which it + was invoked to attempt to locate the root of the Go install tree. + This means that if the entire Go installation is moved to a new + location, the go tool should continue to work as usual. + This may be overriden by setting GOROOT in the environment, + which should only be done in unusual circumstances. + Note that this does not affect the result of + the runtime.GOROOT function, which + will continue to report the original installation location; + this may be fixed in later releases. +

+

Compiler Toolchain

@@ -473,6 +488,15 @@ ExcludedDNSDomains populated.

+

+ + If any SAN extension, including with no DSN names, is present + in the certificate, then the Common Name from + Subject is ignored. + In previous releases, the code tested only whether DNS-name SANs were + present in a certificate. +

+
database/sql
@@ -728,7 +752,7 @@ @@ -763,6 +787,16 @@ method returns the test server's TLS certificate, if any.

+ +
net/http/httputil
+
+

+ The ReverseProxy + now proxies all HTTP/2 response trailers, even those not declared in the initial response + header. Such undeclared trailers are used by the gRPC protocol. +

+ +
os
diff --git a/doc/root.html b/doc/root.html index 27dbc74ab67d360aaa9d1661a7bbdc39235a16bc..9bdf9274804074a8779884846aa83ab4e92a5dab 100644 --- a/doc/root.html +++ b/doc/root.html @@ -6,7 +6,9 @@
+{{if not $.GoogleCN}} +{{end}}
Try Go