Created
November 10, 2015 22:21
-
-
Save gabelula/7b86ba2216280e93cf97 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
var tables map[string]string | |
tables = GetTables() | |
for collectionName, tableName := range tables { | |
go func(collectionName string, tableName string) { | |
log.Printf("Pushing data %s into collection %s.", tableName, collectionName) | |
retrieves(collectionName, tableName) | |
}(collectionName, tableName) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment