diff --git a/README.md b/README.md index 575f0e7..301e337 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,31 @@ #Robotgo - Golang Desktop Automation. Control the mouse, keyboard, and read the screen. + >Golang Desktop Automation. Control the mouse, keyboard, and read the screen. RobotGo supports Mac, Windows, and Linux. This is a work in progress. -Installation: +##Installation: go get github.com/go-vgo/robotgo + + It's that easy! + + +##Examples: + +###Mouse + +```Go +package main + +import ( + . "fmt" + + "github.com/go-vgo/robotgo" +) + +func main() { + robotgo.ScrollMouse(10, "up") +} +```