mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +00:00
Update examples link
This commit is contained in:
parent
80b2a85534
commit
72d330fecf
12
README.md
12
README.md
@ -107,7 +107,7 @@ go get -u github.com/go-vgo/robotgo
|
|||||||
|
|
||||||
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)
|
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)
|
||||||
|
|
||||||
#### [Mouse](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L45)
|
#### [Mouse](https://github.com/go-vgo/robotgo/blob/master/examples/mouse/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -123,7 +123,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### [Keyboard](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L22)
|
#### [Keyboard](https://github.com/go-vgo/robotgo/blob/master/examples/key/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -142,7 +142,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### [Screen](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L71)
|
#### [Screen](https://github.com/go-vgo/robotgo/blob/master/examples/screen/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -161,7 +161,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### [Bitmap](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L90)
|
#### [Bitmap](https://github.com/go-vgo/robotgo/blob/master/examples/bitmap/mian.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -183,7 +183,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### [Event](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L124)
|
#### [Event](https://github.com/go-vgo/robotgo/blob/master/examples/event/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -207,7 +207,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### [Window](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L160)
|
#### [Window](https://github.com/go-vgo/robotgo/blob/master/examples/window/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
|
12
README_zh.md
12
README_zh.md
@ -104,7 +104,7 @@ go get -u github.com/go-vgo/robotgo
|
|||||||
|
|
||||||
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)
|
## [Examples:](https://github.com/go-vgo/robotgo/blob/master/examples)
|
||||||
|
|
||||||
#### [鼠标](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L45)
|
#### [鼠标](https://github.com/go-vgo/robotgo/blob/master/examples/mouse/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -120,7 +120,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### [键盘](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L22)
|
#### [键盘](https://github.com/go-vgo/robotgo/blob/master/examples/key/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -139,7 +139,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### [屏幕](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L71)
|
#### [屏幕](https://github.com/go-vgo/robotgo/blob/master/examples/screen/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -158,7 +158,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### [位图](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L90)
|
#### [位图](https://github.com/go-vgo/robotgo/blob/master/examples/bitmap/mian.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -180,7 +180,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### [事件](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L124)
|
#### [事件](https://github.com/go-vgo/robotgo/blob/master/examples/event/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
@ -203,7 +203,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
#### [窗口句柄](https://github.com/go-vgo/robotgo/blob/master/examples/main.go#L160)
|
#### [窗口句柄](https://github.com/go-vgo/robotgo/blob/master/examples/window/main.go)
|
||||||
|
|
||||||
```Go
|
```Go
|
||||||
package main
|
package main
|
||||||
|
Loading…
Reference in New Issue
Block a user