doc: import aliasing clarification #34603
Labels
Documentation
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Looking at the documentation about dealing with import collisions, the code review comments document says:
Indicating that the packages in the local repository should be aliased, rather than external packages.
Meanwhile, the Effective Go section on package names says:
Which reads to me in opposition to the code review comments recommendation; suggesting the imported (external) package should be aliased, not the local package of the same name.
I tried to find some more information about a "why" for either of these recommendations in the issues and PRs here, but came up empty..
Could I be so bold as to request some further clarification of the recommendation?
Thanks in advance!
The text was updated successfully, but these errors were encountered: