commit | 4fd33079060a7ef7bffe3a1c2369620f4f21ad06 | [log] [tgz] |
---|---|---|
author | Agniva De Sarker <agnivade@yahoo.co.in> | Wed Aug 15 18:08:08 2018 +0530 |
committer | Andrew Bonventre <andybons@golang.org> | Tue Oct 16 15:29:12 2018 +0000 |
tree | 899f7741dd11bd333805feae410ac9340e72d16a | |
parent | 3bba45614315521542f59606bf362dcebcdb99f7 [diff] |
godoc: fix inline playground width for mobile devices The inline playground had a fixed width due to which it gets partially hidden on mobile devices. Hence, expanding the div to fit the entire screen properly inside the media query for mobile resolutions. Also, since the playground appears on top of the button, there is no way to hide it except to reload the page. So, added a click handler on the page to hide the playground if it is open. Fixes golang/go#21636 Change-Id: Id15caec25e870e9ff3be7736e2bb1084591d1016 Reviewed-on: https://go-review.googlesource.com/c/129435 Reviewed-by: Andrew Bonventre <andybons@golang.org> Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@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.