func (cs *CampaignStats) Iterate(campaignID string, params map[string]string) chan CampaignStatStruct {
	resp, err := cs.Get(campaignID, params)

	if err != nil {
		panic(err)
	}

	csc := make(chan CampaignStatStruct)

	go yieldCampaignStats(csc, resp, cs, campaignID)

	return csc
}
// Iterate uses a CampaignStat channel which transparently uses the HasMore field to fire
// a new api request once all stats items have been consumed on the channel.
Iterate uses a CampaignStat channel which transparently uses the HasMore field to fire
a new api request once all stats items have been consumed on the channel.
// Iterate uses a CampaignStat channel which transparently uses the HasMore field to fire // a new api request once all stats items have been consumed on the channel .
func (cs *CampaignStats) Iterate(campaignID string, params map[string]string) chan CampaignStatStruct {
	resp, err := cs.Get(campaignID, params)
	if err != nil {
		panic(err)
	}
	csc := make(chan CampaignStatStruct)
	go yieldCampaignStats(csc, resp, cs, campaignID)
	return csc
}
func ( cs * CampaignStats ) Iterate ( campaignID string , params map [ string ] string ) chan CampaignStatStruct { resp , err := cs . Get ( campaignID , params ) if err != nil { panic ( err ) } csc := make ( chan CampaignStatStruct ) go yieldCampaignStats ( csc , resp , cs , campaignID ) return csc }
Iterate uses a CampaignStat channel which transparently uses the HasMore field to fire
a new api request once all stats items have been consumed on the channel.
Iterate uses a CampaignStat channel which transparently uses the HasMore field to fire a new api request once all stats items have been consumed on the channel .