Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 768 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 768 Bytes

zerousb

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.

Cross-compiling

Using go get, the embedded C library is compiled into the binary format of your host OS.

Acknowledgements

This library is based on and heavily uses code from the usb package by karalabe.

Error handling for the libusb integration originates from the gousb library.

License

This USB library is licensed under the GNU Lesser General Public License v3.0 (dictated by libusb).