Install and Import
While typing a symbol, let GoLand install it and generate the import.
Type the symbol, let your IDE install the package and write the import.
GoLand can generate your import for you, even when you haven't installed the package.
Press to invoke the list of quick-fixes on the red import line and select Sync packages of <project> to import the package into your project.