Skip to content

Commit

Permalink
Add Frost Fatales 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
daenney committed Jan 19, 2022
1 parent 6b923c1 commit ba05b36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions event.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ var (
SGDQ2021 = Event{ID: 35, Short: "SGDQ2021", Name: sgdq + " Online", Year: 2021}
FlamesFatales2021 = Event{ID: 36, Short: "FlamesFatales2021", Name: "Flames Fatales", Year: 2021}
AGDQ2022 = Event{ID: 37, Short: "AGDQ2022", Name: agdq + " Online", Year: 2022}
FrostFatales2022 = Event{ID: 38, Short: "FrostFatales2022", Name: "Frost Fatales", Year: 2022}
)

func (e Event) String() string {
Expand Down Expand Up @@ -143,6 +144,7 @@ var eventsByName = map[string]Event{
"sgdq2021": SGDQ2021,
"flamesfatales2021": FlamesFatales2021,
"agdq2022": AGDQ2022,
"frostfatales2022": FrostFatales2022,
}

// GetEventByName tries to find an event matching the input
Expand Down Expand Up @@ -186,6 +188,7 @@ var eventsByID = map[uint]Event{
35: SGDQ2021,
36: FlamesFatales2021,
37: AGDQ2022,
38: FrostFatales2022,
}

// GetEventByID fetches the event by ID
Expand Down

0 comments on commit ba05b36

Please sign in to comment.