Implement an interface

Implementing an interface is a common task that Go programmers need to do

GoLand offers the option to quickly implement an interface using the Implement methods action.

How to use:

^I (macOS) / Ctrl+I (Windows/Linux), and then select either to generate a new type or use an existing type from the current file.


Related Resources

Create getters and setters for struct fields
Create getters and setters for struct fields
Generate the support code to access fields indirectly, via getters and setters
Improve Code Readability and Navigation
Improve Code Readability and Navigation
Discover how to manage code visibility with code folding in Go
Create a function in another package
Create a function in another package
Type a non-existing function name and generate its implementation in a package of your choice