[go-nuts] Re: Environment setup for developing golang/go

2022-02-25 Thread Francesco Mari
Thanks for sharing this! Picking up on that configuration, I found this piece of documentation about gopls [1]. I followed these steps: - Check out github.com/golang/go to /Users/frm/src/go. - Build the language distribution as described here [2]. - Create a new VSCode workspace at

[go-nuts] Re: Environment setup for developing golang/go

2022-02-24 Thread Zik Aeroh
The way I do it in VS Code is to do something like this from the repo root: # Get the dev version of Go into PATH for the editor and local dev work $ export PATH=$PWD/bin:$PATH # Build a baseline version of go and save it to restore if things break, or for comparison $ (cd src; GOGC=off