1
0
mirror of https://github.com/golang/go synced 2024-11-18 10:54:40 -07:00
go/internal/gocommand
Rebecca Stambler 9fe02d1961 internal/gocommand: refactor API to always use *gocommand.Runner
We should always go through the runner to avoid load serialization
errors. This change also updates the comments and uses pointers to
Invocations consistently. This causes a few updates throughout x/tools.

This change also results in a few modifications to the go:generate code
lenses, as they operate on directories rather than file URIs.

Change-Id: I6306e761e68dfdd23f1b410e44aab0ffa85d234c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/237685
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2020-06-15 22:00:55 +00:00
..
invoke_test.go internal/lsp/cache: add concurrency error check for go cmds 2020-04-08 03:22:09 +00:00
invoke.go internal/gocommand: refactor API to always use *gocommand.Runner 2020-06-15 22:00:55 +00:00
vendor.go cmd/godoc: support automatic vendoring 2020-06-09 06:04:08 +00:00