mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-02 23:23:55 +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 (
|
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 (
|
type (
|
||||||
// Map a map[string]interface{}
|
// Map a map[string]interface{}
|
||||||
Map map[string]interface{}
|
Map map[string]interface{}
|
||||||
@ -94,11 +100,6 @@ type MPoint struct {
|
|||||||
y int
|
y int
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetVersion get version
|
|
||||||
func GetVersion() string {
|
|
||||||
return version
|
|
||||||
}
|
|
||||||
|
|
||||||
// Try handler(err)
|
// Try handler(err)
|
||||||
func Try(fun func(), handler func(interface{})) {
|
func Try(fun func(), handler func(interface{})) {
|
||||||
defer func() {
|
defer func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user