202506061308 vscode There is no formatter for 'go' files installed 报错处理

202506061308 vscode There is no formatter for 'go' files installed 报错处理

There is no formatter for 'go' files installed.

Note

What is the output of go version and go env? Also, can you run the Go: Locate Configured Go Tools command from the Command Palette (Ctrl+Shift+P) and share its output?
The "Error: TypeError: Cannot read property 'lt' of undefined" error might indicate that the extension is not finding your go version.

There is no formatter for 'go' files installed. · Issue #633 · golang/vscode-go