diff --git a/README.md b/README.md index 5c0b9b5..2929e63 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,15 @@ sudo dnf install xsel xclip ``` ## 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 github.com/go-vgo/robotgo ``` diff --git a/README_zh.md b/README_zh.md index 9bc5454..37fc345 100644 --- a/README_zh.md +++ b/README_zh.md @@ -106,6 +106,14 @@ sudo dnf install xsel xclip ``` ## 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 github.com/go-vgo/robotgo ```