# gohook [![CircleCI Status](https://circleci.com/gh/cauefcr/gohook.svg?style=shield)](https://circleci.com/gh/cauefcr/gohook) ![Appveyor](https://ci.appveyor.com/api/projects/status/github/cauefcr/gohook?branch=master&svg=true) [![Go Report Card](https://goreportcard.com/badge/github.com/cauefcr/gohook)](https://goreportcard.com/report/github.com/cauefcr/gohook) [![GoDoc](https://godoc.org/github.com/cauefcr/gohook?status.svg)](https://godoc.org/github.com/cauefcr/gohook) Based on [libuiohook](https://github.com/kwhat/libuiohook) ```Go package main import ( "fmt" //"github.com/robotn/gohook" "github.com/cauefcr/gohook" ) func main() { EvChan := hook.Start() defer hook.End() for ev := range EvChan { fmt.Println(ev) } } ```