Completion for non-imported Go Modules

Import a module even if it was imported or used in your project

GoLand provides code completion suggestions for all modules in the modules cache as you type.

Even if a module has never been imported and used in your project, GoLand is still aware of it and will take care of you.

How to use:

Completion will work automatically as you start typing a package name.

Related Resources

Better time format in completion
Use the commonly known date/time formatting strings while writing time formatting in Go
Complete Current Statement
Add trailing commas or braces and move the cursor with a single keystroke
Code Completion in Language Injections
See how to use code completion inside strings and other places