Type correction

master
Leonardo Domingues 2021-12-07 11:00:51 -03:00
parent 05f2b34703
commit bd3bcefcc2
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@ package wingui
import ( import (
"fmt" "fmt"
"time"
"go.digitalcircle.com.br/open/replaycli-go/api" "go.digitalcircle.com.br/open/replaycli-go/api"
) )
@ -450,7 +449,7 @@ func (c *Cli) DialogColor(t, d string) (ret map[string]int, err error) {
return ret, err return ret, err
} }
func (c *Cli) DialogDate(t, m, d, f string) (ret time.Time, err error) { func (c *Cli) DialogDate(t, m, d, f string) (ret string, err error) {
err = c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/dialog/date?t=%s&m=%s&d=%s&f=%s", t, m, d, f), &ret) err = c.HttpCli().JsonGet(fmt.Sprintf("/ipc/wingui/dialog/date?t=%s&m=%s&d=%s&f=%s", t, m, d, f), &ret)
return ret, err return ret, err
} }