func (t *TimerGroup) String() string {
	timers := byCreationTimeSorter{}
	for _, timer := range t.timers {
		timers.Timers = append(timers.Timers, timer)
	}
	sort.Sort(timers)
	result := &bytes.Buffer{}
	for _, timer := range timers.Timers {
		fmt.Fprintf(result, "%s\n", timer)
	}
	return result.String()
}
func (t *TimerGroup) String() string {
	timers := byCreationTimeSorter{}
	for _, timer := range t.timers {
		timers.Timers = append(timers.Timers, timer)
	}
	sort.Sort(timers)
	result := &bytes.Buffer{}
	for _, timer := range timers.Timers {
		fmt.Fprintf(result, "%s\n", timer)
	}
	return result.String()
}
func ( t * TimerGroup ) String ( ) string { timers := byCreationTimeSorter { } for _ , timer := range t . timers { timers . Timers = append ( timers . Timers , timer ) } sort . Sort ( timers ) result := & bytes . Buffer { } for _ , timer := range timers . Timers { fmt . Fprintf ( result , " \n " , timer ) } return result . String ( ) }
// Return a string representation of a TimerGroup.
Return a string representation of a TimerGroup .