bugst / go-serial

A cross-platform serial library for go-lang.
BSD 3-Clause "New" or "Revised" License
622 stars 191 forks source link

trying out the USB enumerator #22

Closed jcw closed 7 years ago

jcw commented 7 years ago

Hey Cristian,

I'm trying out your new USB code on macOS/64b w/ Go 1.7.5 and get this compiler message:

~/G/s/g/s/enumerator (v1|✔) $ go test
# go.bug.st/serial.v1/enumerator
./usb_darwin.go:25: undefined: PortError
./usb_darwin.go:32: undefined: PortError
FAIL    go.bug.st/serial.v1/enumerator [build failed]

Anything I can do to get past this hurdle? ("wait" is also fine with me...)

Cheers, -jcw

cmaglie commented 7 years ago

Ooops, I've really missed that!

Fixed by #23