gotype: 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/gotype - from package: golang-gotype

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

On Debian possible default full paths are:

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

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