From 8889ee4d1167ed3925fa6f0af422fe6885c57b48 Mon Sep 17 00:00:00 2001 From: vCaesar Date: Thu, 6 Oct 2016 19:03:22 +0800 Subject: [PATCH] md change --- README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) 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") +} +```