Correção de tipos

master
Leonardo Domingues 2021-12-03 10:52:39 -03:00
parent ade994dac8
commit 69d0bdf3e8
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func (c *Cli) ScreenClickCenter(f string) error {
err := c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/screen/clickcenter?f=%s", f), nil) err := c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/screen/clickcenter?f=%s", f), nil)
return err return err
} }
func (c *Cli) ScreenFind(f string) (ret []map[string]interface{}, err error) { func (c *Cli) ScreenFind(f string) (ret []interface{}, err error) {
err = c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/screen/find?f=%s", f), &ret) err = c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/screen/find?f=%s", f), &ret)
return return
} }