Definição de tipo

master
Leonardo Domingues 2021-12-01 17:08:38 -03:00
parent 9877e1819c
commit 4cfbe8f072
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func (c *Cli) Send(id string, m string, ps map[string]interface{}) (string, erro
return ret, err return ret, err
} }
func (c *Cli) OpenTabs() (ret interface{}, err error) { func (c *Cli) OpenTabs() (ret map[string]string, err error) {
err = c.HttpCli().JsonGet("/ipc/chrome/opentabs", &ret) err = c.HttpCli().JsonGet("/ipc/chrome/opentabs", &ret)
return ret, err return ret, err
} }