Install golang-github-tarm-serial-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-tarm-serial-dev
Description:
Go package for serial port communucation
A Go package to allow user to read and write from the serial port as a stream of bytes.
Homepage: https://github.com/tarm/serial
Version: 0.0+git20151113-4
Section: universe/devel