Open
Description
What version of Go, VS Code & VS Code Go extension are you using?
Version Information
- Run
go version
to get version of Go from the VS Code integrated terminal.- go1.16.5 linux/amd64
- Run
gopls -v version
to get version of Gopls from the VS Code integrated terminal.- v0.9.1
- Run
code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders.- 1.69.2
- Check your installed extensions to get the version of the VS Code Go extension
- v0.35.1
- Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) >
Go: Locate Configured Go Tools
command.
Generate interface stubs
When generate interface stubs for interface in same file it adds the package name for parameter.
When generate interface stubs for interface in same file it shouldn't add the package name.