prow/github/client.go
func (c *Client) GetProjectColumns(projectID int) ([]ProjectColumn, error) {
	c.log("GetProjectColumns", projectID)
	path := (fmt.Sprintf("/projects/%d/columns", projectID))
	var projectColumns []ProjectColumn
	err := c.readPaginatedResults(
		path,
		"application/vnd.github.inertia-preview+json",
		func() interface{} {
			return &[]ProjectColumn{}
		},
		func(obj interface{}) {
			projectColumns = append(projectColumns, *(obj.(*[]ProjectColumn))...)
		},
	)
	if err != nil {
		return nil, err
	}
	return projectColumns, nil
}
func (c *Client) GetProjectColumns(projectID int) ([]ProjectColumn, error) {
	c.log("GetProjectColumns", projectID)
	path := (fmt.Sprintf("/projects/%d/columns", projectID))
	var projectColumns []ProjectColumn
	err := c.readPaginatedResults(
		path,
		"application/vnd.github.inertia-preview+json",
		func() interface{} {
			return &[]ProjectColumn{}
		},
		func(obj interface{}) {
			projectColumns = append(projectColumns, *(obj.(*[]ProjectColumn))...)
		},
	)
	if err != nil {
		return nil, err
	}
	return projectColumns, nil
}
// GetProjectColumns returns the list of columns in a project.
//
// See https://developer.github.com/v3/projects/columns/#list-project-columns