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