Known Issues

gopls Linting Issue in Testing Files on Package Declaration Line

You may see the following error from gopls in the *_test.go files.

This file is within module “.”, which is not included in your workspace. To fix this problem, you can add a file that uses this directory. See the documentation for more information on setting up your workspace:

This is due to a known issue within gopls ( You can work around this in VS Code by specifying the following in your settings.json.

"go.buildTags": "unit,integration,multicloud"