func AllGroups(c Client) ([]Group, error) {
	groups, err := c.Groups(groupsPath, true)
	if err != nil {
		return nil, err
	}
	return fetchNextGroups(c, groups)
}
// AllGroups fetches all atlas groups
AllGroups fetches all atlas groups
// AllGroups fetches all atlas groups
func AllGroups(c Client) ([]Group, error) {
	groups, err := c.Groups(groupsPath, true)
	if err != nil {
		return nil, err
	}
	return fetchNextGroups(c, groups)
}
func AllGroups ( c Client ) ( [ ] Group , error ) { groups , err := c . Groups ( groupsPath , true ) if err != nil { return nil , err } return fetchNextGroups ( c , groups ) }
AllGroups fetches all atlas groups
AllGroups fetches all atlas groups