libusb
Go bindings for the libusb C library.
Installation
$ go get github.com/gotmc/libusbInstalling C libusb library
To use libusb package, you'll need to install the libusb C library first.
OS X
$ brew install libusbWindows
Download and install the latest Windows libusb binaries from libusb.info.
Linux
$ sudo apt-get install -y libusb-dev libusb-1.0-0-devDocumentation
Documentation can be found at either:
- https://godoc.org/github.com/gotmc/libusb
- http://localhost:6060/pkg/github.com/gotmc/libusb/ after running
$ godoc -http=:6060
Contributing
libusb is developed using Scott Chacon's GitHub Flow. To contribute, fork libusb, create a feature branch, and then submit a pull request. GitHub Flow is summarized as:
- Anything in the
masterbranch is deployable - To work on something new, create a descriptively named branch off of
master(e.g.,new-oauth2-scopes) - Commit to that branch locally and regularly push your work to the same named branch on the server
- When you need feedback or help, or you think the branch is ready for merging, open a pull request.
- After someone else has reviewed and signed off on the feature, you can merge it into master.
- Once it is merged and pushed to
master, you can and should deploy immediately.
Testing
Prior to submitting a pull request, please run:
$ gofmt
$ golint
$ go vet
$ go testTo update and view the test coverage report:
$ go test -coverprofile coverage.out
$ go tool cover -html coverage.outLicense
libusb is released under the MIT license. Please see the LICENSE.txt file for more information.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
