diff --git a/README.md b/README.md index a3c0172..84cb8bb 100644 --- a/README.md +++ b/README.md @@ -103,8 +103,8 @@ func main() { robotgo.KeyTap("enter") robotgo.TypeString("en") robotgo.KeyTap("i", "alt", "command") - arr := []string{"alt", "command"} - robotgo.KeyTap("i", arr) + arr := []string{"alt", "command"} + robotgo.KeyTap("i", arr) } ``` diff --git a/README_zh.md b/README_zh.md index 95c6f91..a0a0ffe 100644 --- a/README_zh.md +++ b/README_zh.md @@ -100,8 +100,8 @@ func main() { robotgo.KeyTap("enter") robotgo.TypeString("en") robotgo.KeyTap("i", "alt", "command") - arr := []string{"alt", "command"} - robotgo.KeyTap("i", arr) + arr := []string{"alt", "command"} + robotgo.KeyTap("i", arr) } ```