The zerousb
package is the simplest wrapper around the native libusb
library.
To use zerousb
, no extra setup is required as the package bundles and links libusb.
The package supports Linux, macOS, Windows and FreeBSD.
Using go get
, the embedded C library is compiled into the binary format of your host OS.
This library is based on and heavily uses code from the trezord-go
package.
Error handling for the libusb
integration originates from the gousb
library.
This USB library is licensed under the GNU Lesser General Public License v3.0 (dictated by libusb).