Install golang-go-dbus-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-go-dbus-dev
Description:
Go interface for D-Bus
After importing this package, you can connect to D-Bus from your Go programs. This package does not depend on libdbus and does not need cgo, making it suitable for use when cross-compiling.
Homepage: http://launchpad.net/go-dbus
Version: 1~bzr20150203-0ubuntu2
Section: universe/devel