prow/cmd/peribolos/main.go
func findTeam(teams map[string]github.Team, name string, previousNames ...string) *github.Team {
	if t, ok := teams[name]; ok {
		return &t
	}
	for _, p := range previousNames {
		if t, ok := teams[p]; ok {
			return &t
		}
	}
	return nil
}
func findTeam(teams map[string]github.Team, name string, previousNames ...string) *github.Team {
	if t, ok := teams[name]; ok {
		return &t
	}
	for _, p := range previousNames {
		if t, ok := teams[p]; ok {
			return &t
		}
	}
	return nil
}
func findTeam ( teams map [ string ] github . Team , name string , previousNames ... string ) * github . Team { if t , ok := teams [ name ] ; ok { return & t } for _ , p := range previousNames { if t , ok := teams [ p ] ; ok { return & t } } return nil }
// findTeam returns teams[n] for the first n in [name, previousNames, ...] that is in teams.
findTeam returns teams [ n ] for the first n in [ name previousNames ... ] that is in teams .