From 14aa4712b4a2f4ef93bc94587561b2c0c5c10c55 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Wed, 8 Dec 2021 17:56:08 -0400 Subject: [PATCH] Update godoc --- robotgo.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/robotgo.go b/robotgo.go index 01ecc1c..75c0d3a 100644 --- a/robotgo.go +++ b/robotgo.go @@ -18,6 +18,12 @@ See Requirements: https://github.com/go-vgo/robotgo#requirements Installation: +With Go module support (Go 1.11+), just import: +```go + import "github.com/go-vgo/robotgo" +``` + +Otherwise, to install the robotgo package, run the command: go get -u github.com/go-vgo/robotgo */ package robotgo @@ -641,7 +647,8 @@ func MovesClick(x, y int, args ...interface{}) { Click(args...) } -// Toggle toggle the mouse, support button: "left", "center", "right", +// Toggle toggle the mouse, support button: +// "left", "center", "right", // "wheelDown", "wheelUp", "wheelLeft", "wheelRight" // // Examples: