This issue is broken out of #29036.
We should remove dot imports from the language (import . "path"). Quoting @rogpeppe:
The official guidelines suggest that a dot import should only be used "to let the file pretend to be part of package foo even though it is not". This is a stylistic choice and strictly unnecessary. The tests can still use package-qualified names with only minor inconvenience (the same inconvenience that any external user will see).
Other than that, I believe the most common use is to make the imported package feel "close to a DSL". This seems to be actively opposed to the aims of Go, as it makes the programs much harder to read.
This issue is broken out of #29036.
We should remove dot imports from the language (
import . "path"). Quoting @rogpeppe: