Created
August 10, 2021 13:15
-
-
Save percybolmer/57161997c8a33a23f1749f0d83a51bf6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Now we have an Events API event, but this event type can in turn be many types, so we actually need another type switch | |
err := handleEventMessage(eventsAPIEvent) | |
if err != nil { | |
// Replace with actual err handeling | |
log.Fatal(err) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment