- 標准方法安裝
$ go get github.com/go-delve/delve/cmd/dlv
- 源碼方式安裝
$ export GOPATH=~/.go
$ git clone https://github.com/go-delve/delve.git $GOPATH/src/github.com/go-delve/delve
$ cd $GOPATH/src/github.com/go-delve/delve
$ make install
- 擴展
3.1 安裝在哪里?
在$GOPATH/bin目錄中