I've checked out the main
branch of
From the command line, if I try to gopls
that file, I get a similar error:
> gopls check functional_consumer_group_test.go
gopls: no packages returned: packages.Load error
I suspect this has something to do with the build constraints (
CodePudding user response:
Have you tried go clean -cache
?
And this link may help: https://github.com/golang/go/issues/42353