Skip to content

Files

Latest commit

 

History

History
13 lines (8 loc) · 376 Bytes

import-shadowing.md

File metadata and controls

13 lines (8 loc) · 376 Bytes

Pattern: Use of import shadowing

Issue: -

Description

In GO it is possible to declare identifiers (packages, structs, interfaces, parameters, receivers, variables, constants...) that conflict with the name of an imported package. This rule spots identifiers that shadow an import.

Further Reading