func (eventReceivers *EventReceivers) Get() ([]*EventReceiverInfo, error) {
	client := NewHTTPClient(eventReceivers.client)
	data, err := client.Get(eventReceivers.ToURL(), eventReceivers.config)
	if err != nil {
		return nil, err
	}
	data, _ = NormalizeODataCollection(data)
	var res []*EventReceiverInfo
	if err := json.Unmarshal(data, &res); err != nil {
		return nil, err
	}
	return res, nil
}
Get gets event receivers collection
package api
import (
	"encoding/json"
	"github.com/koltyakov/gosip"
)
type EventReceivers struct {
	client    *gosip.SPClient
	config    *RequestConfig
	endpoint  string
	modifiers *ODataMods
}
type EventReceiverInfo struct {
	EventType        int    `json:"EventType"`
	ReceiverAssembly string `json:"ReceiverAssembly"`
	ReceiverClass    string `json:"ReceiverClass"`
	ReceiverID       string `json:"ReceiverId"`
	ReceiverName     string `json:"ReceiverName"`
	ReceiverURL      string `json:"ReceiverUrl"`
	SequenceNumber   int    `json:"SequenceNumber"`
	Synchronization  int    `json:"Synchronization"`
}
func NewEventReceivers(client *gosip.SPClient, endpoint string, config *RequestConfig) *EventReceivers {
	return &EventReceivers{
		client:    client,
		endpoint:  endpoint,
		config:    config,
		modifiers: NewODataMods(),
	}
}
func (eventReceivers *EventReceivers) ToURL() string {
	return toURL(eventReceivers.endpoint, eventReceivers.modifiers)
}