OS: Ubuntu 16.04 Go: 1.10
Most of these commands should be run with user root or sudo users.
wget https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.10.3.linux-amd64.tar.gzAdd /usr/local/go/bin into PATH by update file /etc/environment then run command to reload environemt variables
source /etc/environmentCheck result
$ go version
go version go1.10.3 linux/amd64GitHub URL: https://github.com/golang/dep
sudo curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sudo sh- Install VS Code's Extenstion Go of Microsoft
- Run command in terminal
go get -u github.com/derekparker/delve/cmd/dlvwith Administrator permission (Windows) or sudo permission (Linux)