bugst / go-serial

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

"//go:generate" comment moved to GOOS independent file #19

Closed albenik closed 7 years ago

albenik commented 7 years ago

To avoid cross platform go generate issue See https://github.com/golang/go/issues/16368

cmaglie commented 7 years ago

I never tried to run mksyscall from non-windows OS, but it seems to be working well, very handy. Thanks for your contribution!

PS: It seems that this pull request got some more unrelated commits, BTW I've merged just 378aafb into mainstream.