lint fixes.
This commit is contained in:
@@ -64,7 +64,7 @@ func LoadFromURL(url string) error {
|
||||
//go:generate go run regen/regen.go --template regen/load_data.go.tpl -o load_data.go
|
||||
|
||||
func init() {
|
||||
ids, cls, err := ParseIDs(strings.NewReader(usbIdListData))
|
||||
ids, cls, err := ParseIDs(strings.NewReader(usbIDListData))
|
||||
if err != nil {
|
||||
log.Printf("usbid: failed to parse: %s", err)
|
||||
return
|
||||
|
@@ -23,7 +23,7 @@ import "time"
|
||||
// 2017-03-10 09:09:14.940548227 -0500 EST
|
||||
var LastUpdate = time.Unix(0, 1489154954940548227)
|
||||
|
||||
const usbIdListData = `#
|
||||
const usbIDListData = `#
|
||||
# List of USB ID's
|
||||
#
|
||||
# Maintained by Stephen J. Gowdy <linux.usb.ids@gmail.com>
|
||||
|
Reference in New Issue
Block a user