client.go
func (c *Client) DeleteField(field *Field) error {
	span := c.tracer.StartSpan("Client.DeleteField")
	defer span.Finish()

	path := fmt.Sprintf("/index/%s/field/%s", field.index.name, field.name)
	_, _, err := c.httpRequest("DELETE", path, nil, nil, false)
	return err
}
func (c *Client) DeleteField(field *Field) error {
	span := c.tracer.StartSpan("Client.DeleteField")
	defer span.Finish()

	path := fmt.Sprintf("/index/%s/field/%s", field.index.name, field.name)
	_, _, err := c.httpRequest("DELETE", path, nil, nil, false)
	return err
}
func ( c * Client ) DeleteField ( field * Field ) error { span := c . tracer . StartSpan ( " " ) defer span . Finish ( ) path := fmt . Sprintf ( " " , field . index . name , field . name ) _ , _ , err := c . httpRequest ( " " , path , nil , nil , false ) return err }
// DeleteField deletes a field on the server.
DeleteField deletes a field on the server .