func (t Tournaments) GroupByMonths(season int) map[time.Month]Tournaments {
	byMonth := make(map[time.Month]Tournaments)

	for _, entry := range t {
		y, m := entry.Info.Scheduled.Year(), entry.Info.Scheduled.Month()
		if y == season {
			byMonth[m] = append(byMonth[m], entry)
		}
	}

	return byMonth
}
func (t Tournaments) GroupByMonths(season int) map[time.Month]Tournaments {
	byMonth := make(map[time.Month]Tournaments)

	for _, entry := range t {
		y, m := entry.Info.Scheduled.Year(), entry.Info.Scheduled.Month()
		if y == season {
			byMonth[m] = append(byMonth[m], entry)
		}
	}

	return byMonth
}
func ( t Tournaments ) GroupByMonths ( season int ) map [ time . Month ] Tournaments { byMonth := make ( map [ time . Month ] Tournaments ) for _ , entry := range t { y , m := entry . Info . Scheduled . Year ( ) , entry . Info . Scheduled . Month ( ) if y == season { byMonth [ m ] = append ( byMonth [ m ] , entry ) } } return byMonth }
//
// Tournaments related functions and methods
//
Tournaments related functions and methods