Skip to content

Redeclared package import inspection #1461

@dlsniper

Description

@dlsniper

the following should produce an error:

import ( "crypto/rand" "math/rand" )
./file.go:Line: rand redeclared as imported package name previous declaration at ./file.go:Line 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions