1
0
mirror of https://github.com/golang/go synced 2024-11-08 08:56:16 -07:00
go/src/internal
Josh Bleecher Snyder c564aebce9 internal/testenv: add GoTool
GoToolPath requires a *testing.T to handle errors.
GoTool provides a variant that returns errors
for clients without a *testing.T,
such as that found in CL 27811.

Change-Id: I7ac8b7ec9d472894c37223c5f7b121ec823e7f61
Reviewed-on: https://go-review.googlesource.com/28787
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-09-10 20:50:12 +00:00
..
nettrace net, net/http: don't trace DNS dials 2016-05-14 00:14:25 +00:00
race
singleflight
syscall syscall: avoid convT2I allocs for common Windows error values 2016-09-07 04:46:25 +00:00
testenv internal/testenv: add GoTool 2016-09-10 20:50:12 +00:00
trace internal/trace: fix analysis of EvGoWaiting/EvGoInSyscall events 2016-08-19 19:22:17 +00:00