fix mispell (#54)
* fix mispell * update golint path in travis * Golint requires Go 1.9 or later * install golint only if go >=1.9 * exclude go 1.7 and go 1.8 for golint * add build on go 1.10.x
This commit is contained in:

committed by
Sebastian Zagrodzki

parent
15d2fa288b
commit
593cfb67e9
@@ -30,7 +30,7 @@ type InterfaceDesc struct {
|
||||
AltSettings []InterfaceSetting
|
||||
}
|
||||
|
||||
// String returns a human-readable descripton of the interface descriptor and
|
||||
// String returns a human-readable description of the interface descriptor and
|
||||
// its alternate settings.
|
||||
func (i InterfaceDesc) String() string {
|
||||
return fmt.Sprintf("Interface %d (%d alternate settings)", i.Number, len(i.AltSettings))
|
||||
@@ -65,7 +65,7 @@ func (a InterfaceSetting) sortedEndpointIds() []string {
|
||||
return eps
|
||||
}
|
||||
|
||||
// String returns a human-readable descripton of the particular
|
||||
// String returns a human-readable description of the particular
|
||||
// alternate setting of an interface.
|
||||
func (a InterfaceSetting) String() string {
|
||||
return fmt.Sprintf("Interface %d alternate setting %d (available endpoints: %v)", a.Number, a.Alternate, a.sortedEndpointIds())
|
||||
|
Reference in New Issue
Block a user