update version and gomod pkg

This commit is contained in:
vcaesar 2020-05-20 10:55:32 -04:00
parent 198a589461
commit 419a0340b3
4 changed files with 5 additions and 4 deletions

View File

@ -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
View File

@ -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
View File

@ -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=

View File

@ -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