commit | 5ad4d95e58135daa27cc1463f290951ea6fe0809 | [log] [tgz] |
---|---|---|
author | Agniva De Sarker <agnivade@yahoo.co.in> | Tue Mar 13 15:21:37 2018 +0530 |
committer | Andrew Bonventre <andybons@golang.org> | Thu Mar 15 17:24:39 2018 +0000 |
tree | 2b763da94e631f75a0e505b79da8ddad65254819 | |
parent | c41d1439521820892798a1ede0322bc890f8dd4c [diff] |
godoc: add the defer attribute to script tags This allows the scripts to be downloaded concurrently as the body is being parsed. Deferred scripts are executed in order and only after the entire document has been loaded. So essentially the entire effect remains same but we reduce the network download time. Also, CL 90396 missed out updating static.go. Packaging the change along with this. Change-Id: Ia850bd50b49f2a9e0e4fbc29617858ab0fa8a0b9 Reviewed-on: https://go-review.googlesource.com/100295 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.