gohook/README.md
2019-02-19 10:34:55 -04:00

747 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.