Skip to content

Instantly share code, notes, and snippets.

@AlexeyGy
Created September 18, 2020 12:33
Show Gist options
  • Save AlexeyGy/7ac4c3b29113db5100d52d3ff488ebb3 to your computer and use it in GitHub Desktop.
Save AlexeyGy/7ac4c3b29113db5100d52d3ff488ebb3 to your computer and use it in GitHub Desktop.
import (
"bytes"
"fmt"
"strings"
"syscall"
"time"
"unsafe"
)
func main() {
user32 := syscall.MustLoadDLL("user32")
defer user32.Release()
registerHotkeys(user32)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment