go path is not set.
find installed directory of go lang. (e.g linux )
whereis go
then export below var.
export GOPATH=$HOME/go export PATH=$PATH:$GOPATH/bin
these exported variable scope is limited to current terminal only so better to set into file ~/.bashrc
solved Error when i running the application hyperledger fabric