chay22 / zerousb

The simplest USB library for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

About

The simplest USB library for Go

License:GNU Lesser General Public License v3.0


Languages

Language:C 58.4%Language:Go 39.4%Language:C++ 2.2%