godex: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/godex - from package: golang-googlecode-tools-godex

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/godex - from package: golang-go.tools

You may install the required package with command apt-get install {package}
Error in other languages:
godex: bevel nie gevind nie
godex: comandă negăsită
godex: comando não encontrado
godex: commande introuvable
godex: command not found
godex: käsku ei ole
godex: không tìm thấy lệnh
godex: komanda nerasta
godex: Kommando nicht gefunden.
godex: kommandot finns inte
godex: komut yok
godex: nie znaleziono polecenia
godex: níor aimsíodh an t-ordú
godex: no se encontró la orden
godex: no s'ha trobat l'ordre
godex: opdracht niet gevonden
godex: parancs nem található
godex: perintah tidak ditemukan
godex: príkaz nenájdený
godex: příkaz nenalezen
godex: команда не найдена
godex: командата не е открита
godex: 命令找不到
godex: コマンドが見つかりません