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

759 B

gohook

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.