Adding your dependencies
Edit the file
installdeps and add
go get ... statements.
Example: Line 7
Install dependencies with:
The dependencies are placed in
This also adds a
.vscode workspace setting with current
GOPATH. This allows lint and formatting tools to work correctly.
Without it, you might have to use other workarounds.
If you still want to do
go run ...., make sure you do a
source ./setgopath whenever the project terminal is opened.
This will create a binary in the