update go generate
Replace old mkwinsyscall call by the new version which is recommended by Go since version 1.13.3.
This commit is contained in:
committed by
Cristian Maglie
parent
be77090773
commit
e18766f4d1
@@ -6,7 +6,7 @@
|
||||
|
||||
package serial
|
||||
|
||||
//go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go syscall_windows.go
|
||||
//go:generate go run golang.org/x/sys/windows/mkwinsyscall -output zsyscall_windows.go syscall_windows.go
|
||||
|
||||
// Port is the interface for a serial Port
|
||||
type Port interface {
|
||||
|
||||
Reference in New Issue
Block a user