gohook/README.md
2019-02-19 11:32:48 -04:00

749 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(ev)
	}
}

Based on libuiohook.