mirror of
https://github.com/robotn/gohook.git
synced 2024-11-25 05:46:52 +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)
|
#if (defined(__MINGW32__) || defined(__CYGWIN__)) && !defined(_POSIX_PRIORITY_SCHEDULING)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
int sched_yield() {
|
int sched_yield() {
|
||||||
return SwitchToThread();
|
return SwitchToThread();
|
||||||
}
|
}
|
||||||
|
2
go.mod
2
go.mod
@ -2,4 +2,4 @@ module github.com/robotn/gohook
|
|||||||
|
|
||||||
go 1.13
|
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.10.0 h1:jPtFiRRnCOXVakd5ujCed2dwWwTs91wh8W1iHeUIfc0=
|
||||||
github.com/vcaesar/tt v0.0.0-20200219144246-a190abe69d64/go.mod h1:GHPxQYhn+7OgKakRusH7KJ0M5MhywoeLb8Fcffs/Gtg=
|
github.com/vcaesar/tt v0.10.0/go.mod h1:GHPxQYhn+7OgKakRusH7KJ0M5MhywoeLb8Fcffs/Gtg=
|
||||||
|
2
hook.go
2
hook.go
@ -32,7 +32,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
// Version get the gohook version
|
// Version get the gohook version
|
||||||
Version = "v0.30.0.80, Sierra Nevada!"
|
Version = "v0.30.1.83, Sierra Nevada!"
|
||||||
|
|
||||||
// HookEnabled honk enable status
|
// HookEnabled honk enable status
|
||||||
HookEnabled = 1 // iota
|
HookEnabled = 1 // iota
|
||||||
|
Loading…
Reference in New Issue
Block a user