func (c *Client) ListProjects() ([]*Project, error) {
	projects := []*Project{}

	err := c.request("GET", "projects", &projects, nil, nil)
	if err != nil {
		return nil, err
	}

	for _, project := range projects {
		if err := cleanupProject(project); err != nil {
			return nil, err
		}
	}

	return projects, nil
}
func (c *Client) ListProjects() ([]*Project, error) {
	projects := []*Project{}

	err := c.request("GET", "projects", &projects, nil, nil)
	if err != nil {
		return nil, err
	}

	for _, project := range projects {
		if err := cleanupProject(project); err != nil {
			return nil, err
		}
	}

	return projects, nil
}
func ( c * Client ) ListProjects ( ) ( [ ] * Project , error ) { projects := [ ] * Project { } err := c . request ( " " , " " , & projects , nil , nil ) if err != nil { return nil , err } for _ , project := range projects { if err := cleanupProject ( project ) ; err != nil { return nil , err } } return projects , nil }
// ListProjects returns the list of projects the user is watching
ListProjects returns the list of projects the user is watching