godef
godef copied to clipboard
go get -u -v github.com/rogpeppe/godef error
anla@Anla ~/go/src/golang-day-test master: go get -u -v github.com/rogpeppe/godef
github.com/rogpeppe/godef (download)
# cd /Users/anla/go/src/github.com/rogpeppe/godef; git pull --ff-only
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> master
package github.com/rogpeppe/godef: exit status 1
same problem.
These steps have helped me:
- Make sure that yours
GOPATHvariable is set properly (invoke$ env | grep 'GOPATH'inTerminalapplication and check if this value equals/Users/{your_user_name}/go(a place wheregois installed)). - Remove files in
/Users/{your_user_name}/go/src(invoke$ rm -rf /Users/{your_user_name}/go/src/inTerminalapplication) and try to installgodefonce again.