You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Ian Cottrell 0310561d58 internal/lsp: change the hover test to use normal editor methods 2 months ago
benchmark/parse benchmark/parse: add unit test for String function 7 months ago
blog blog: use serial comma in long author lists 3 months ago
cmd all: run prettier on js and css 1 month ago
container/intsets all: fix some staticcheck errors 5 months ago
cover cover: error on negative numbers in profiles 6 months ago
go go/packages: handle x test overlays with no content 1 month ago
godoc godoc/static: replace innerHTML with textContent 1 month ago
gopls internal/jsonrpc2: switch to building streams on top of net.Conn 1 month ago
imports internal: rationalize debug logging 4 months ago
internal internal/lsp: change the hover test to use normal editor methods 1 month ago
playground playground/socket: handle multi-file present play snippets 7 months ago
present x/tools/present: point to instagram sted twitter for Renee French 3 months ago
refactor all: fix more typos 10 months ago
txtar txtar/archive: add unit test function for Format 7 months ago
.gitattributes tools: copying .gitattributes to all subrepositories (fixes windows build) 5 years ago
.gitignore .gitignore: roll back ".gitignore: ignore emacs backup files" 2 years ago
.prettierrc all: add a section on JS/CSS formatting to README 1 month ago
AUTHORS go.empty: prototype for new subrepository 8 years ago
CONTRIBUTING.md CONTRIBUTING.md: remove note about not accepting Pull Requests 2 years ago
CONTRIBUTORS go.empty: prototype for new subrepository 8 years ago
LICENSE LICENSE: add 8 years ago
PATENTS go.empty: add PATENTS file to the subrepo. 8 years ago
README.md all: add a section on JS/CSS formatting to README 1 month ago
codereview.cfg tools: add codereview.cfg 5 years ago
go.mod go.mod: upgrade goldmark dependency to fix js/wasm build 3 months ago
go.sum go.mod: upgrade goldmark dependency to fix js/wasm build 3 months ago

README.md

Go Tools

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.

Download/Install

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.

JS/CSS Formatting

This repository uses prettier to format JS and CSS files.

The version of prettier used is 1.18.2.

It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.

Report Issues / Send Patches

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.