Open icetech233 opened 5 months ago
define
var gloMap map[string]uintptr
but
spew.Dump("gloMap", gloMap)
(string) (len=6) "gloMap" (map[string]uintptr) (len=2) { (string) (len=14) "desktop_handle": (uintptr) 0x10010, (string) (len=11) "collect_win": (uintptr) <nil> }
(string) (len=11) "collect_win": (uintptr) <nil> (string) (len=11) "collect_win": (uintptr) <nil> (string) (len=11) "collect_win": (uintptr) <nil>
was wrong
correct is
(map[string]uintptr) (len=2) { (string) (len=14) "desktop_handle": (uintptr) 0x10010, (string) (len=11) "collect_win": (uintptr) 0 }
define
var gloMap map[string]uintptr
but
was wrong