Created
April 11, 2016 17:50
-
-
Save fschr/696a16cbc6bd2cee201d82f75c12fbb6 to your computer and use it in GitHub Desktop.
This file contains 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
switch t := event.(type) { | |
case sdl.QuitEvent: | |
utils.Running = false | |
//default: | |
// fmt.Printf("%v\n", t) | |
} | |
// If you uncomment the commented lines, this code will run | |
// otherwise, it will not compile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment