update version and godoc

This commit is contained in:
vcaesar 2018-07-21 19:42:06 +08:00
parent 5c5348e88e
commit 794cbf87ad

View File

@ -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() {