Moved USB enumerations subroutines in their own package

This commit is contained in:
Cristian Maglie
2017-01-07 23:38:51 +01:00
parent 9d2bfefb78
commit c8b1c23a56
13 changed files with 202 additions and 152 deletions

12
enumerator/usb_freebsd.go Normal file
View File

@@ -0,0 +1,12 @@
//
// Copyright 2014-2017 Cristian Maglie. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
package enumerator // import "go.bug.st/serial.v1/enumerator"
func nativeGetDetailedPortsList() ([]*PortDetails, error) {
// TODO
return nil, &PortEnumerationError{}
}