Documentation
¶
Overview ¶
Package iface provides analyzers that designed to identify the incorrect use of interfaces, helping developers avoid interface pollution.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ifacecheck
command
|
|
|
Package identical defines an Analyzer that identifies interfaces in the same package with identical methods or constraints.
|
Package identical defines an Analyzer that identifies interfaces in the same package with identical methods or constraints. |
|
cmd/duplicateiface
command
|
|
|
internal
|
|
|
Package opaque defines an Analyzer to that detects interfaces that are used to abstract a single concrete implementation only.
|
Package opaque defines an Analyzer to that detects interfaces that are used to abstract a single concrete implementation only. |
|
cmd/opaqueiface
command
|
|
|
Package unused defines an Analyzer that indetifies interfaces that are not used anywhere in the same package where the interface is defined.
|
Package unused defines an Analyzer that indetifies interfaces that are not used anywhere in the same package where the interface is defined. |
|
cmd/unusediface
command
|
Click to show internal directories.
Click to hide internal directories.