mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Update example_test
This commit is contained in:
parent
3a980999ee
commit
7e0d4f55f6
@ -9,7 +9,9 @@ import (
|
|||||||
func Example() {
|
func Example() {
|
||||||
clipboard.WriteAll("日本語")
|
clipboard.WriteAll("日本語")
|
||||||
text, err := clipboard.ReadAll()
|
text, err := clipboard.ReadAll()
|
||||||
if err == nil {
|
if err != nil {
|
||||||
|
fmt.Println(err)
|
||||||
|
} else {
|
||||||
fmt.Println(text)
|
fmt.Println(text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user