sudo snap install go
rror: This revision of snap "go" was published using classic confinement and
thus may perform arbitrary system changes outside of the security
sandbox that snaps are usually confined to, which may put your system at
risk.
If you understand and want to proceed repeat the command including
--classic.
export PATH=$PATH:/usr/local/go/bin
source ~/.bashrcexport PATH=$PATH:/usr/local/go/bin
source ~/.bashrc
sudo gedit ~/.bashrc