mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
This change eliminates the need for the importer struct. We should no longer need the "seen" map for cycle detection. This is because go/packages will not return import maps with cycles, and we fail in the Import function if we see an import we do not recognize. Change-Id: I06922c74e07eb47ce63b56fa2ac2099e7fc8bd8a Reviewed-on: https://go-review.googlesource.com/c/tools/+/202299 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>