Convert empty interfaces to `any`

Check and replace empty interfaces that are used as types or type constraints.

Tip Screenshot

GoLand has an inspection that reports usages of empty interfaces used as a type or a type constraint. To fix such usages, try the Replace with 'any' intention action.

How to use: Place the cursor on an empty interface, press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), and select Replace with 'any'.


Related Resources

Rename generic receivers along with a generic struct
Rename generic receivers along with a generic struct
Generate tests for generic functions
Use a shortcut to generate test files for your generic functions.
Delete a type parameter with an empty parameter list
Type parameters with empty parameter lists are reported as errors, but you have a quick-fix to put it right.