gotypeconverter-extension
https://marketplace.visualstudio.com/items?itemName=fuji8.gotypeconverter&ssr=false#overview
demo
attention!!!
- This extension executes the following commands at startup.
> go install github.com/fuji8/gotypeconverter-extension/gotypeconverter-langserver@latest
- Remember to save the file before Refactor.
- go 1.18
usage
- Write a function with one argument and one return value
- Save the file.
- Press
ctrl + shift + R