Created
February 24, 2015 18:07
-
-
Save gerep/944d5408f0e1215fece7 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
package main | |
import "fmt" | |
var ( | |
coins = 50 | |
users = []string{ | |
"Matthew", "Sarah", "Augustus", "Heidi", "Emilie", | |
"Peter", "Giana", "Adriano", "Aaron", "Elizabeth", | |
} | |
distribution = make(map[string]int, len(users)) | |
) | |
func main() { | |
fmt.Println(distribution) | |
fmt.Println("Coins left:", coins) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment