Type correction
parent
05f2b34703
commit
bd3bcefcc2
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue