// EventByID finds a ChampionshipEvent by its ID string.
EventByID finds a ChampionshipEvent by its ID string.
// EventByID finds a ChampionshipEvent by its ID string .
func (c *Championship) EventByID(id string) (*ChampionshipEvent, error) {
	for _, e := range c.Events {
		if e.ID.String() == id {
			return e, nil
		}
	}
	return nil, ErrInvalidChampionshipEvent
}
func ( c * Championship ) EventByID ( id string ) ( * ChampionshipEvent , error ) { for _ , e := range c . Events { if e . ID . String ( ) == id { return e , nil } } return nil , ErrInvalidChampionshipEvent }
EventByID finds a ChampionshipEvent by its ID string.
EventByID finds a ChampionshipEvent by its ID string .