Install gocode by entering the following commands in the terminal:
sudo apt update sudo apt install gocode
Description:
Go autocompletion daemon
Gocode is a autocompletion helper tool for the Go programming language that is intended to be integrated with source code editors.
Homepage: https://github.com/nsf/gocode
Version: 20170907-2
Section: universe/devel