update examples and version

This commit is contained in:
vcaesar 2021-03-05 14:58:53 -04:00
parent bde093a1c7
commit 031b46cb88
3 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,10 @@ func colorPicker() {
fmt.Println("color: #", clo) fmt.Println("color: #", clo)
// clipboard // clipboard
robotgo.WriteAll("#" + clo) err := robotgo.WriteAll("#" + clo)
if err != nil {
fmt.Println("err: ", err)
}
} }
} }

View File

@ -99,7 +99,7 @@ func cilp() {
if err != nil { if err != nil {
fmt.Println("robotgo.ReadAll err is: ", err) fmt.Println("robotgo.ReadAll err is: ", err)
} }
fmt.Println(text) fmt.Println("text: ", text)
} }
func key() { func key() {

View File

@ -70,7 +70,7 @@ import (
const ( const (
// Version get the robotgo version // Version get the robotgo version
Version = "v0.91.0.1089, MT. Rainier!" Version = "v0.93.1.1189, MT. Rainier!"
) )
// GetVersion get the robotgo version // GetVersion get the robotgo version