To set the current project’s GOROOT:

.vscode/settings.json:

{
    "go.alternateTools": {
        "go": "~/.local/share/rtx/installs/golang/1.18/go/bin/go",
    }
}

Golang test tags:

{
	"go.testTags": "unit"
}