Install golang-mode by entering the following commands in the terminal:
sudo apt update sudo apt install golang-mode
Description:
Emacs mode for editing Go code -- transitional package
This is a transitional package for elpa-go-mode and can be safely removed after installation.
Homepage: https://github.com/dominikh/go-mode.el
Version: 3:1.5.0-1
Section: universe/devel