Added USB API

This commit is contained in:
Cristian Maglie
2016-10-08 11:15:50 +02:00
parent e9103998c3
commit 5050c50185
6 changed files with 100 additions and 0 deletions

12
usb_windows.go Normal file
View File

@@ -0,0 +1,12 @@
//
// Copyright 2014-2016 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 serial // import "go.bug.st/serial.v1"
func nativeGetDetailedPortsList() ([]*PortDetails, error) {
// TODO
return nil, &PortError{code: FunctionNotImplemented}
}