mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
A package name cannot contain a '.' anyway, so this is a mostly likely internal package name in the presence of a '.' in the import path. This stops goimports from adding a local alias in places where it is not needed, for instance in gopkg.in conventions. Fixes golang/go#29556 Change-Id: I0ab11f2852d7f1dae14457995692760077201c8e Reviewed-on: https://go-review.googlesource.com/c/157357 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>