tomnomnom/gf

Able to install but dont know why its not showing and hence unable to run

arpeetrathi opened this issue · 1 comments

Greetings ,
I am able to install with the command of go get, but after installing it neither gives any error nor shows the file. And on terminal it says gf is not a directory neither a file. Why is it so? How can I fix it. I fixed this issue in some other tools by downloading its binary but since this tool doesn't have binary uploaded. So, what should I do, btw I did all the steps from installing to editing and till refreshing .bashrc ...Yet nothing worked.

Paste this in your .bashrc

export GOROOT=/usr/lib/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

Restart terminal and try now