mirror of
https://github.com/golang/go
synced 2024-11-18 16:04:44 -07:00
9bea2ecb95
A pass is responsible for fixing the imports of a given file. It now finds the necessary changes to make without applying the result to the ast, which may be desirable to give a user more control about what changes will be applied to their program. This change splits the process of finding the fixes from making the modifications to the ast to allow this functionality to be easily possible. Change-Id: Ibf8ca247c35539f91de4be90c634f0db9a939d07 Reviewed-on: https://go-review.googlesource.com/c/tools/+/184197 Reviewed-by: Heschi Kreinick <heschi@google.com> Run-TryBot: Suzy Mueller <suzmue@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
testdata/mod | ||
fix_test.go | ||
fix.go | ||
imports.go | ||
mkindex.go | ||
mkstdlib.go | ||
mod_112_test.go | ||
mod_test.go | ||
mod.go | ||
proxy_112_test.go | ||
proxy_113_test.go | ||
sortimports.go | ||
zstdlib.go |