GoLand
 
Get GoLand
Because GoLand 2025.1 is still in development, this documentation may not be entirely accurate and is subject to change.

Auto import

Last modified: 20 February 2025

If you use a type, an interface, a method, or a function that you have not imported yet, the IDE shows you a tooltip prompting you to add a missing import statement so that you do not have to add it manually. Press AltEnter to accept the suggestion.

If there's more than one possible source of import, pressing AltEnter will open the list of suggestions.

the auto-import tooltip