The answers on this site worked for me. Basically, enable go modules in GoLand via:
Make sure Go Modules integration is enabled in settings (Preferences / Settings | Go | Go Modules), and GOPATH indexing is disabled (Preferences / Settings | Go | GOPATH | Index entire GOPATH).
As soon as I did this, the red imports went away and everything worked.