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