commit | 28aef64757f4d432485ab970b094e1af8b301e84 | [log] [tgz] |
---|---|---|
author | Andrew Gerrand <adg@golang.org> | Thu May 17 10:14:04 2018 +1000 |
committer | Andrew Gerrand <adg@golang.org> | Thu May 17 02:09:35 2018 +0000 |
tree | b94ad03d02086d584ec67eabdc74004a701f71ed | |
parent | 48418e5732e1b1e2a10207c8007a5f959e422f20 [diff] |
go/internal/gcimporter: return error from BExportData This change adds an error return value to BExportData and replaces the various calls to log.Fatal within that library with panics that propagate the internal error up the call stack to BExportData which recovers and returns the error. Fixes golang/go#25431 Change-Id: Id628c63a04145bb469bd6fbc7fbab1b0fa291b2c Reviewed-on: https://go-review.googlesource.com/113457 Reviewed-by: David Symonds <dsymonds@golang.org> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@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.