circleci.go
func (c *Client) FollowProject(account, repo string) (*Project, error) {
	project := &Project{}

	err := c.request("POST", fmt.Sprintf("project/%s/%s/follow", account, repo), project, nil, nil)
	if err != nil {
		return nil, err
	}

	if err := cleanupProject(project); err != nil {
		return nil, err
	}

	return project, nil
}
func (c *Client) FollowProject(account, repo string) (*Project, error) {
	project := &Project{}

	err := c.request("POST", fmt.Sprintf("project/%s/%s/follow", account, repo), project, nil, nil)
	if err != nil {
		return nil, err
	}

	if err := cleanupProject(project); err != nil {
		return nil, err
	}

	return project, nil
}
func ( c * Client ) FollowProject ( account , repo string ) ( * Project , error ) { project := & Project { } err := c . request ( " " , fmt . Sprintf ( " " , account , repo ) , project , nil , nil ) if err != nil { return nil , err } if err := cleanupProject ( project ) ; err != nil { return nil , err } return project , nil }
// FollowProject follows a project
FollowProject follows a project