mirror of https://github.com/golang/go.git
In all cases, use a Logf field to configure debug logging. Non-nil means that logging is enabled through the given function. Fixes accidental debug spam from goimports, which had a separate Debug flag that was supposed to guard logging, but wasn't used when creating the gocommand.Invocation. Change-Id: I448fa282111db556ac2e49801268d0affc19ae30 Reviewed-on: https://go-review.googlesource.com/c/tools/+/221557 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| testdata/mod | ||
| fix.go | ||
| fix_test.go | ||
| imports.go | ||
| imports_test.go | ||
| mkindex.go | ||
| mkstdlib.go | ||
| mod.go | ||
| mod_112_test.go | ||
| mod_114_test.go | ||
| mod_cache.go | ||
| mod_cache_test.go | ||
| mod_pre114_test.go | ||
| mod_test.go | ||
| proxy_112_test.go | ||
| proxy_113_test.go | ||
| sortimports.go | ||
| zstdlib.go | ||