package datasync import ( "go.digitalcircle.com.br/open/replaycli-go/api" ) type Cli struct { cli *api.Cli } func (c *Cli) HttpCli() *api.Cli { return c.cli } func (c *Cli) New(i interface{}) (string, error) { res := "" err := c.cli.HttpJsonPost("/ipc/datasyncreportmgr/new", i, &res) return res, err } func NewCli() *Cli { ret := &Cli{cli: api.NewCli()} return ret }