testDBPath is a const, not var...
This commit is contained in:
@@ -16,8 +16,9 @@ package usbid
|
|||||||
|
|
||||||
import "github.com/kylelemons/gousb/usb"
|
import "github.com/kylelemons/gousb/usb"
|
||||||
|
|
||||||
|
const testDBPath = "testdata/testdb.txt"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
testDBPath = "testdata/testdb.txt"
|
|
||||||
testDBVendors = map[usb.ID]*Vendor{
|
testDBVendors = map[usb.ID]*Vendor{
|
||||||
0xabcd: {
|
0xabcd: {
|
||||||
Name: "Vendor One",
|
Name: "Vendor One",
|
||||||
|
Reference in New Issue
Block a user