Documentation ¶
Index ¶
Constants ¶
View Source
const (
STANDARD_HEADER = "application/vnd.github.v3.text-match+json"
)
Variables ¶
This section is empty.
Functions ¶
func Verify ¶
func Verify(repo Repository, testRepo Repository, t *testing.T)
func VerifyItems ¶
func VerifyItems(repos []Repository, testRepos []Repository, t *testing.T)
Types ¶
type ApiHandler ¶
type ApiHandler struct {
// contains filtered or unexported fields
}
func New ¶
func New(url string) *ApiHandler
func (*ApiHandler) GetRepos ¶
func (a *ApiHandler) GetRepos() ([]Repository, error)
type GithubResponse ¶
type GithubResponse struct {
Items []Repository `json:"items"`
}
func GetTestRepos ¶
func GetTestRepos(repos ...string) GithubResponse
Click to show internal directories.
Click to hide internal directories.