Abirdcfly / goimportsduplicate

A linters to detect duplicate package imports, which are usually caused by git cherry-picking or other reasons, This greatly interferes with the source code reading.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A linters to detect duplicate package imports, which are usually caused by git cherry-picking or other reasons, This greatly interferes with the source code reading.

for example:

package main
import (
    "fmt"
    gofmt "fmt"  // duplicate import
)
....

About

A linters to detect duplicate package imports, which are usually caused by git cherry-picking or other reasons, This greatly interferes with the source code reading.

License:Apache License 2.0


Languages

Language:Go 100.0%