mirror of
https://github.com/robotn/gohook.git
synced 2024-11-21 18:36:51 +08:00
update version and gomod pkg
This commit is contained in:
parent
198a589461
commit
419a0340b3
@ -32,6 +32,7 @@
|
||||
|
||||
#if (defined(__MINGW32__) || defined(__CYGWIN__)) && !defined(_POSIX_PRIORITY_SCHEDULING)
|
||||
#include <windows.h>
|
||||
|
||||
int sched_yield() {
|
||||
return SwitchToThread();
|
||||
}
|
||||
|
2
go.mod
2
go.mod
@ -2,4 +2,4 @@ module github.com/robotn/gohook
|
||||
|
||||
go 1.13
|
||||
|
||||
require github.com/vcaesar/tt v0.0.0-20200219144246-a190abe69d64
|
||||
require github.com/vcaesar/tt v0.10.0
|
||||
|
4
go.sum
4
go.sum
@ -1,2 +1,2 @@
|
||||
github.com/vcaesar/tt v0.0.0-20200219144246-a190abe69d64 h1:MwxT8hyvPcPafJ2LDmoFuH7Xpz5LZ6W3dKzwVQAHD/k=
|
||||
github.com/vcaesar/tt v0.0.0-20200219144246-a190abe69d64/go.mod h1:GHPxQYhn+7OgKakRusH7KJ0M5MhywoeLb8Fcffs/Gtg=
|
||||
github.com/vcaesar/tt v0.10.0 h1:jPtFiRRnCOXVakd5ujCed2dwWwTs91wh8W1iHeUIfc0=
|
||||
github.com/vcaesar/tt v0.10.0/go.mod h1:GHPxQYhn+7OgKakRusH7KJ0M5MhywoeLb8Fcffs/Gtg=
|
||||
|
Loading…
Reference in New Issue
Block a user