prow/github/client.go
func (c *Client) GetOrgProjects(org string) ([]Project, error) {
	c.log("GetOrgProjects", org)
	path := (fmt.Sprintf("/orgs/%s/projects", org))
	var projects []Project
	err := c.readPaginatedResults(
		path,
		"application/vnd.github.inertia-preview+json",
		func() interface{} {
			return &[]Project{}
		},
		func(obj interface{}) {
			projects = append(projects, *(obj.(*[]Project))...)
		},
	)
	if err != nil {
		return nil, err
	}
	return projects, nil
}
func (c *Client) GetOrgProjects(org string) ([]Project, error) {
	c.log("GetOrgProjects", org)
	path := (fmt.Sprintf("/orgs/%s/projects", org))
	var projects []Project
	err := c.readPaginatedResults(
		path,
		"application/vnd.github.inertia-preview+json",
		func() interface{} {
			return &[]Project{}
		},
		func(obj interface{}) {
			projects = append(projects, *(obj.(*[]Project))...)
		},
	)
	if err != nil {
		return nil, err
	}
	return projects, nil
}
// GetOrgProjects returns the list of projects in this org.
//
// See https://developer.github.com/v3/projects/#list-organization-projects