Install golang-github-eclipse-paho.mqtt.golang-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-eclipse-paho.mqtt.golang-dev
Description:
Go package implementing MQTT client library by Eclipse Paho
The Paho MQTT package provides a library which enable applications to connect to broker to publish messages, and to subscribe to topics and receive published messages.
Homepage: http://www.eclipse.org/paho/
Version: 1.1.0-1
Section: universe/devel