mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-19 14:23:55 +00:00
Update clipboard test
This commit is contained in:
parent
9b817112a2
commit
68cf71744e
@ -9,8 +9,10 @@ import (
|
|||||||
|
|
||||||
func Example() {
|
func Example() {
|
||||||
clipboard.WriteAll("日本語")
|
clipboard.WriteAll("日本語")
|
||||||
text, _ := clipboard.ReadAll()
|
text, err := clipboard.ReadAll()
|
||||||
fmt.Println(text)
|
if err == nil {
|
||||||
|
fmt.Println(text)
|
||||||
|
}
|
||||||
|
|
||||||
// Output:
|
// Output:
|
||||||
// 日本語
|
// 日本語
|
||||||
|
Loading…
Reference in New Issue
Block a user