func (s *ConsumersService) Delete(consumer string) (*http.Response, error) {
	u := fmt.Sprintf("consumers/%v", consumer)
	req, err := s.client.NewRequest("DELETE", u, nil)
	if err != nil {
		return nil, err
	}
	resp, err := s.client.Do(req, nil)
	if err != nil {
		return resp, err
	}
	return resp, err
}
ConsumersService.Delete deletes a single Kong consumer object, by name or id.

Equivalent to DELETE /consumers/{username or id}
package kong
import (
	"errors"
	"fmt"
	"net/http"
)
type ConsumersService struct {
	*service
	Plugins *ConsumersPlugins
}
type Consumers struct {
	Data  []*Consumer `json:"data,omitempty"`
	Total int         `json:"total,omitempty"`
	Next  string      `json:"next,omitempty"`
}
type Consumer struct {
	ID        string `json:"id,omitempty"`
	Username  string `json:"username,omitempty"`
	CustomID  string `json:"custom_id,omitempty"`
	CreatedAt int    `json:"created_at,omitempty"`
}
func (s *ConsumersService) Get(consumer string) (*Consumer, *http.Response, error) {
	u := fmt.Sprintf("consumers/%v", consumer)
	req, err := s.client.NewRequest("GET", u, nil)
	if err != nil {
		return nil, nil, err
	}
	uResp := new(Consumer)
	resp, err := s.client.Do(req, uResp)
	if err != nil {
		return nil, resp, err
	}
	return uResp, resp, err
}
func (s *ConsumersService) Patch(consumer *Consumer) (*http.Response, error) {
	var u string
	if consumer.ID != "" {
		u = fmt.Sprintf("consumers/%v", consumer.ID)
	} else if consumer.Username != "" {
		u = fmt.Sprintf("consumers/%v", consumer.Username)
	} else {
		return nil, errors.New("At least one of consumer.Username or consumer.ID must be specified")
	}
	req, err := s.client.NewRequest("PATCH", u, consumer)
	if err != nil {
		return nil, err
	}
	resp, err := s.client.Do(req, nil)
	return resp, err
}