Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("pr-client")
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (Client) GetAllParticipants ¶
func (client Client) GetAllParticipants() ([]model.Participant, error)
type InterfaceClient ¶
type InterfaceClient interface {
GetAllParticipants() ([]model.Participant, error)
}
type MockClient ¶
type MockClient struct {
GetAllParticipantsFunc func() ([]model.Participant, error)
}
func DefaultMock ¶
func DefaultMock() MockClient
func (MockClient) GetAllParticipants ¶
func (mPR MockClient) GetAllParticipants() ([]model.Participant, error)
Click to show internal directories.
Click to hide internal directories.