From 8364724ca4fa7b5c3a28f9b4be98f96c4d539f64 Mon Sep 17 00:00:00 2001 From: Sebastian Zagrodzki Date: Sun, 9 Apr 2017 20:28:26 +0200 Subject: [PATCH] lint fixes. --- usbid/load.go | 2 +- usbid/load_data.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usbid/load.go b/usbid/load.go index 65dc8f9..f099d86 100644 --- a/usbid/load.go +++ b/usbid/load.go @@ -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 diff --git a/usbid/load_data.go b/usbid/load_data.go index f38bcb8..f783a53 100644 --- a/usbid/load_data.go +++ b/usbid/load_data.go @@ -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