Install golang-github-showmax-go-fqdn-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-showmax-go-fqdn-dev
Description:
Golang library to provide local machine FQDN
The go-fqdn library is a simple wrapper around the 'net' and 'os' Golang standard libraries to provide the Fully Qualified Domain Name (FQDN) of the local machine.
Homepage: https://github.com/ShowMax/go-fqdn
Version: 0.0~git20160909.2501cdd-1
Section: universe/devel