func (a *WhisperAggregation) match(metric string) *whisperAggregationItem {
	for _, s := range a.Data {
		if s.pattern.MatchString(metric) {
			return s
		}
	}
	return a.Default
}
func (a *WhisperAggregation) match(metric string) *whisperAggregationItem {
	for _, s := range a.Data {
		if s.pattern.MatchString(metric) {
			return s
		}
	}
	return a.Default
}
func ( a * WhisperAggregation ) match ( metric string ) * whisperAggregationItem { for _ , s := range a . Data { if s . pattern . MatchString ( metric ) { return s } } return a . Default }
// Match find schema for metric
Match find schema for metric