Merge branch 'master' of github.com:kylelemons/gousb
This commit is contained in:
17
LICENSE
Normal file
17
LICENSE
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
Copyright 2010 Kyle Lemons
|
||||||
|
Copyright 2011 Google, Inc. (for changes on or after Feb. 22, 2011)
|
||||||
|
|
||||||
|
The accompanying software is licensed under the Common Development and
|
||||||
|
Distribution License, Version 1.0 (CDDL-1.0, the "License"); you may not use
|
||||||
|
any part of this software except in compliance with the License.
|
||||||
|
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
http://opensource.org/licenses/CDDL-1.0
|
||||||
|
More information about the CDDL can be found at
|
||||||
|
http://hub.opensolaris.org/bin/view/Main/licensing_faq
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
License for the specific language governing permissions and limitations under
|
||||||
|
the License.
|
||||||
@@ -29,11 +29,11 @@ If you installed the lsusb example, both libraries below are already installed.
|
|||||||
|
|
||||||
Installing the primary gousb package is really easy:
|
Installing the primary gousb package is really easy:
|
||||||
|
|
||||||
go get -v github.com/kylelemons.net/gousb/usb
|
go get -v github.com/kylelemons/gousb/usb
|
||||||
|
|
||||||
There is also a `usbid` package that will not be installed by default by this command, but which provides useful information including the human-readable vendor and product codes for detected hardware. It's not installed by default and not linked into the `usb` package by default because it adds ~400kb to the resulting binary. If you want both, they can be installed thus:
|
There is also a `usbid` package that will not be installed by default by this command, but which provides useful information including the human-readable vendor and product codes for detected hardware. It's not installed by default and not linked into the `usb` package by default because it adds ~400kb to the resulting binary. If you want both, they can be installed thus:
|
||||||
|
|
||||||
go get -v github.com/kylelemons.net/gousb/usb{,id}
|
go get -v github.com/kylelemons/gousb/usb{,id}
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
=============
|
=============
|
||||||
|
|||||||
Reference in New Issue
Block a user