prow/github/fakegithub/fakegithub.go
func (f *FakeClient) GetProjectColumns(projectID int) ([]github.ProjectColumn, error) {
	// Get project name
	for _, projects := range f.RepoProjects {
		for _, project := range projects {
			if projectID == project.ID {
				return f.ProjectColumnsMap[project.Name], nil
			}
		}
	}
	return nil, fmt.Errorf("Cannot find project ID")
}
func (f *FakeClient) GetProjectColumns(projectID int) ([]github.ProjectColumn, error) {
	// Get project name
	for _, projects := range f.RepoProjects {
		for _, project := range projects {
			if projectID == project.ID {
				return f.ProjectColumnsMap[project.Name], nil
			}
		}
	}
	return nil, fmt.Errorf("Cannot find project ID")
}
func ( f * FakeClient ) GetProjectColumns ( projectID int ) ( [ ] github . ProjectColumn , error ) { // Get project name for _ , projects := range f . RepoProjects { for _ , project := range projects { if projectID == project . ID { return f . ProjectColumnsMap [ project . Name ] , nil } } } return nil , fmt . Errorf ( " " ) }
// GetProjectColumns returns the list of columns for a given project.
GetProjectColumns returns the list of columns for a given project .