Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultBaseURL = "https://gitlab.com/" DefaultPerPage = 25 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct {
// contains filtered or unexported fields
}
func NewAPIError ¶
type Client ¶
type Client interface {
ListMergeRequests(IIDs []int, perPage int) ([]MergeRequest, error)
}
type ClientNotCreatedError ¶
type ClientNotCreatedError struct {
// contains filtered or unexported fields
}
func NewClientNotCreatedError ¶
func NewClientNotCreatedError(err error) *ClientNotCreatedError
func (*ClientNotCreatedError) Error ¶
func (e *ClientNotCreatedError) Error() string
func (*ClientNotCreatedError) Is ¶
func (e *ClientNotCreatedError) Is(err error) bool
func (*ClientNotCreatedError) Unwrap ¶
func (e *ClientNotCreatedError) Unwrap() error
type MergeRequest ¶
type MergeRequest struct { IID int Title string Labels []string AuthorName string AuthorHandle string }
func (MergeRequest) Author ¶
func (mr MergeRequest) Author() string
type MockClient ¶
MockClient is an autogenerated mock type for the Client type
func (*MockClient) ListMergeRequests ¶
func (_m *MockClient) ListMergeRequests(IIDs []int, perPage int) ([]MergeRequest, error)
ListMergeRequests provides a mock function with given fields: IIDs, perPage
Click to show internal directories.
Click to hide internal directories.