You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the pkgname part should also be updated to the new package name, otherwise
go build/install will complain.
BTW, external tests also tend to use dot import to import the package under
test, even though we don't support fixing dot imports now, ideally we should
support this special case.
One test case is to move golang.org/x/tools/types to golang.org/x/tools/gotypes.
The text was updated successfully, but these errors were encountered:
I understand refactor/rename can't generally support dot imports, but
I think supporting dot import in context of moving package import paths
should be straightforward. Or am I missing anything?
By external test, I mean
package pkgname_test
the pkgname part should also be updated to the new package name, otherwise
go build/install will complain.
BTW, external tests also tend to use dot import to import the package under
test, even though we don't support fixing dot imports now, ideally we should
support this special case.
One test case is to move golang.org/x/tools/types to golang.org/x/tools/gotypes.
The text was updated successfully, but these errors were encountered: