circleci.go
func (c *Client) GetProject(account, repo string) (*Project, error) {
	projects, err := c.ListProjects()
	if err != nil {
		return nil, err
	}

	for _, project := range projects {
		if account == project.Username && repo == project.Reponame {
			return project, nil
		}
	}

	return nil, nil
}
func (c *Client) GetProject(account, repo string) (*Project, error) {
	projects, err := c.ListProjects()
	if err != nil {
		return nil, err
	}

	for _, project := range projects {
		if account == project.Username && repo == project.Reponame {
			return project, nil
		}
	}

	return nil, nil
}
func ( c * Client ) GetProject ( account , repo string ) ( * Project , error ) { projects , err := c . ListProjects ( ) if err != nil { return nil , err } for _ , project := range projects { if account == project . Username && repo == project . Reponame { return project , nil } } return nil , nil }
// GetProject retrieves a specific project
// Returns nil of the project is not in the list of watched projects
GetProject retrieves a specific project Returns nil of the project is not in the list of watched projects