// Edit gets the details of a cron job.
Edit gets the details of a cron job.
// Edit gets the details of a cron job .
func (c *Client) Edit(cronID int, v url.Values) (out *EditOutput, err error) {
	v = c.defaultValues(v)
	v.Set("id", strconv.Itoa(cronID))
	body, err := c.call("edit", v)
	if err != nil {
		return nil, err
	}
	err = json.Unmarshal(body, &out)
	if err != nil {
		return nil, err
	}
	return out, nil
}
func ( c * Client ) Edit ( cronID int , v url . Values ) ( out * EditOutput , err error ) { v = c . defaultValues ( v ) v . Set ( " " , strconv . Itoa ( cronID ) ) body , err := c . call ( " " , v ) if err != nil { return nil , err } err = json . Unmarshal ( body , & out ) if err != nil { return nil , err } return out , nil }
Edit gets the details of a cron job.
Edit gets the details of a cron job .