mirror of
https://github.com/golang/go
synced 2024-11-19 04:54:41 -07:00
2b7b26d7b0
This change adds a buildflags variable to the ProcessEnv inside internal/imports. When you run go list with GO111MODULE=on to get information about the package you are in, it will add a go directive to your go.mod file if there is not one. With the tempModfile=on flag, there should be no changes to a user's go.mod file. Updates golang/go#36247 Change-Id: I817e4c46b4f433d0665fcb7585fcdf4f87049a38 Reviewed-on: https://go-review.googlesource.com/c/tools/+/215978 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
debug.go | ||
error_test.go | ||
errors.go | ||
external.go | ||
load.go | ||
modfiles.go | ||
overlay.go | ||
parse_mod.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go |