mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
update version and godoc
This commit is contained in:
parent
5c5348e88e
commit
794cbf87ad
1 changed files with 7 additions and 6 deletions
13
robotgo.go
13
robotgo.go
|
|
@ -66,9 +66,15 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
version string = "v0.49.0.607, Olympus Mons!"
|
||||
// Version get the robotgo version
|
||||
Version string = "v0.49.0.610, Olympus Mons!"
|
||||
)
|
||||
|
||||
// GetVersion get the robotgo version
|
||||
func GetVersion() string {
|
||||
return Version
|
||||
}
|
||||
|
||||
type (
|
||||
// Map a map[string]interface{}
|
||||
Map map[string]interface{}
|
||||
|
|
@ -94,11 +100,6 @@ type MPoint struct {
|
|||
y int
|
||||
}
|
||||
|
||||
// GetVersion get version
|
||||
func GetVersion() string {
|
||||
return version
|
||||
}
|
||||
|
||||
// Try handler(err)
|
||||
func Try(fun func(), handler func(interface{})) {
|
||||
defer func() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue