gohook/README.md
2019-12-07 14:27:27 -04:00

883 B

gohook

Build Status CircleCI Status Appveyor Go Report Card GoDoc

package main

import (
	"fmt"

	"github.com/robotn/gohook"
)

func main() {
	EvChan := hook.Start()
	defer hook.End()
	
	for ev := range EvChan {
		fmt.Println("hook: ", ev)
	}
}

Based on libuiohook.