Every so often, Goland gets into a weird state where it completely forgets about symbols from a certain package. It’s not every package, and the build might run perfectly fine. Yet when you try to do any code completion from this package, it says it cannot find symbols. It’s very strange.
Clearing the cache and restarting seems to be the only way to resolve this. I’m about to do this for the second time today.