Documentation
¶
Overview ¶
Package iface provides analyzers that designed to identify the incorrect use of interfaces, helping developers avoid interface pollution.
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
Package identical defines an Analyzer that identifies interfaces within the same package that have identical methods or constraints.
|
Package identical defines an Analyzer that identifies interfaces within the same package that have identical methods or constraints. |
internal
|
|
Package opaque defines an Analyzer that detects functions that return an interface type, but only ever return a single concrete implementation.
|
Package opaque defines an Analyzer that detects functions that return an interface type, but only ever return a single concrete implementation. |
Package unexported defines an Analyzer that detects interfaces which are not exported but are used as parameters or return values in exported functions or methods.
|
Package unexported defines an Analyzer that detects interfaces which are not exported but are used as parameters or return values in exported functions or methods. |
Package unused defines an Analyzer that detects interfaces which are not used anywhere in the same package where they are defined.
|
Package unused defines an Analyzer that detects interfaces which are not used anywhere in the same package where they are defined. |
Click to show internal directories.
Click to hide internal directories.