Update README.md

This commit is contained in:
vCaesar 2016-11-14 18:22:53 +08:00
parent 33b05a0daf
commit 6f671b7186
2 changed files with 4 additions and 4 deletions

View File

@ -103,8 +103,8 @@ func main() {
robotgo.KeyTap("enter") robotgo.KeyTap("enter")
robotgo.TypeString("en") robotgo.TypeString("en")
robotgo.KeyTap("i", "alt", "command") robotgo.KeyTap("i", "alt", "command")
arr := []string{"alt", "command"} arr := []string{"alt", "command"}
robotgo.KeyTap("i", arr) robotgo.KeyTap("i", arr)
} }
``` ```

View File

@ -100,8 +100,8 @@ func main() {
robotgo.KeyTap("enter") robotgo.KeyTap("enter")
robotgo.TypeString("en") robotgo.TypeString("en")
robotgo.KeyTap("i", "alt", "command") robotgo.KeyTap("i", "alt", "command")
arr := []string{"alt", "command"} arr := []string{"alt", "command"}
robotgo.KeyTap("i", arr) robotgo.KeyTap("i", arr)
} }
``` ```