// homeHandler serves content to /
homeHandler serves content to
// homeHandler serves content to /
func homeHandler(w http.ResponseWriter, r *http.Request) {
	currentRace, entryList := raceManager.CurrentRace()
	var customRace *CustomRace
	if currentRace != nil {
		customRace = &CustomRace{EntryList: entryList, RaceConfig: currentRace.CurrentRaceConfig}
	}
	ViewRenderer.MustLoadTemplate(w, r, "home.html", map[string]interface{}{
		"RaceDetails": customRace,
	})
}
func homeHandler ( w http . ResponseWriter , r * http . Request ) { currentRace , entryList := raceManager . CurrentRace ( ) var customRace * CustomRace if currentRace != nil { customRace = & CustomRace { EntryList : entryList , RaceConfig : currentRace . CurrentRaceConfig } } ViewRenderer . MustLoadTemplate ( w , r , " " , map [ string ] interface { } { " " : customRace , } ) }
homeHandler serves content to
homeHandler serves content to