Install golang-github-jackpal-gateway-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-jackpal-gateway-dev
Description:
library for discovering the address of a LAN gateway
gateway is a very simple library for discovering the IP address of the local LAN gateway. It provides implementations for Linux, OS X (Darwin) and Windows.
Homepage: https://github.com/jackpal/gateway
Version: 1.0.4-4
Section: universe/devel