mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
update version and godoc
This commit is contained in:
parent
5c5348e88e
commit
794cbf87ad
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 New Issue
Block a user