s/kylelemons/google/ in the new repo.

This commit is contained in:
Sebastian Zagrodzki
2017-05-05 23:41:11 +02:00
parent 730c32b9fd
commit e33e0fef82
8 changed files with 21 additions and 21 deletions

View File

@@ -3,7 +3,7 @@ Introduction
[![Build Status][ciimg]][ci] [![Build Status][ciimg]][ci]
[![GoDoc][docimg]][doc] [![GoDoc][docimg]][doc]
[![Coverage Status](https://coveralls.io/repos/github/kylelemons/gousb/badge.svg?branch=gousb2.0)](https://coveralls.io/github/kylelemons/gousb?branch=gousb2.0-dev) [![Coverage Status][coverimg]][cover]
The gousb package is an attempt at wrapping the libusb library into a Go-like binding. The gousb package is an attempt at wrapping the libusb library into a Go-like binding.
@@ -13,18 +13,18 @@ Supported platforms include:
- darwin - darwin
- windows - windows
[ciimg]: https://travis-ci.org/kylelemons/gousb.svg?branch=gousb2.0-dev [coverimg]: https://coveralls.io/repos/github/google/gousb/badge.svg
[ci]: https://travis-ci.org/kylelemons/gousb?branch=gousb2.0-dev [cover]: https://coveralls.io/github/google/gousb
[docimg]: https://godoc.org/github.com/kylelemons/gousb?status.svg [ciimg]: https://travis-ci.org/google/gousb.svg
[doc]: https://godoc.org/github.com/kylelemons/gousb [ci]: https://travis-ci.org/google/gousb
[docimg]: https://godoc.org/github.com/google/gousb?status.svg
[doc]: https://godoc.org/github.com/google/gousb
Contributing Contributing
============ ============
Because I am a Google employee, contributing to this project will require signing the [Google CLA][cla]. Contributing to this project will require signing the [Google CLA][cla].
This is the same agreement that is required for contributing to Go itself, so if you have This is the same agreement that is required for contributing to Go itself, so if you have
already filled it out for that, you needn't fill it out again. already filled it out for that, you needn't fill it out again.
You will need to send me the email address that you used to sign the agreement
so that I can verify that it is on file before I can accept pull requests.
[cla]: https://cla.developers.google.com/ [cla]: https://cla.developers.google.com/
@@ -41,7 +41,7 @@ Example: lsusb
-------------- --------------
The gousb project provides a simple but useful example: lsusb. This binary will list the USB devices connected to your system and various interesting tidbits about them, their configurations, endpoints, etc. To install it, run the following command: The gousb project provides a simple but useful example: lsusb. This binary will list the USB devices connected to your system and various interesting tidbits about them, their configurations, endpoints, etc. To install it, run the following command:
go get -v github.com/kylelemons/gousb/lsusb go get -v github.com/google/gousb/lsusb
gousb gousb
----- -----
@@ -49,11 +49,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/gousb/usb go get -v github.com/google/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/gousb/usb{,id} go get -v github.com/google/gousb/usb{,id}
Notes for installation on Windows Notes for installation on Windows
--------------------------------- ---------------------------------
@@ -74,5 +74,5 @@ Documentation
============= =============
The documentation can be viewed via local godoc or via the excellent [godoc.org](http://godoc.org/): The documentation can be viewed via local godoc or via the excellent [godoc.org](http://godoc.org/):
- [usb](http://godoc.org/github.com/kylelemons/gousb/usb) - [usb](http://godoc.org/github.com/google/gousb/usb)
- [usbid](http://godoc.org/pkg/github.com/kylelemons/gousb/usbid) - [usbid](http://godoc.org/pkg/github.com/google/gousb/usbid)

View File

@@ -21,8 +21,8 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/kylelemons/gousb/usb" "github.com/google/gousb/usb"
"github.com/kylelemons/gousb/usbid" "github.com/google/gousb/usbid"
) )
var ( var (

View File

@@ -25,7 +25,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/kylelemons/gousb/usb" "github.com/google/gousb/usb"
) )
var ( var (

View File

@@ -27,7 +27,7 @@ package usbid
import ( import (
"fmt" "fmt"
"github.com/kylelemons/gousb/usb" "github.com/google/gousb/usb"
) )
// Describe returns a human readable string describing the vendor and product // Describe returns a human readable string describing the vendor and product

View File

@@ -21,7 +21,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/kylelemons/gousb/usb" "github.com/google/gousb/usb"
) )
const ( const (

View File

@@ -22,7 +22,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/kylelemons/gousb/usb" "github.com/google/gousb/usb"
) )
// A Vendor contains the name of the vendor and mappings corresponding to all // A Vendor contains the name of the vendor and mappings corresponding to all

View File

@@ -25,7 +25,7 @@ import (
"text/template" "text/template"
"time" "time"
"github.com/kylelemons/gousb/usbid" "github.com/google/gousb/usbid"
) )
var ( var (

View File

@@ -14,7 +14,7 @@
package usbid package usbid
import "github.com/kylelemons/gousb/usb" import "github.com/google/gousb/usb"
const testDBPath = "testdata/testdb.txt" const testDBPath = "testdata/testdb.txt"