I tried the answer here Removed golang but go command still works?, but it didn\'t work (I can still run go)
Currently, when I run which go I see this o
which go
You might try
rm -rvf /usr/local/go/
then remove any mention of go in e.g. your ~/.bashrc; then you need at least to logout and login.
go
~/.bashrc
However, be careful when doing that. You might break your system badly if something is wrong.
PS. I am assuming a Linux or POSIX system.