Created
January 20, 2020 16:16
-
-
Save fwojciec/29f27c85e47b01c5414deefb6df16141 to your computer and use it in GitHub Desktop.
gqlserver2: dataloaders15
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
// order | |
result := make([]*pg.Agent, len(authorIDs)) | |
for i, authorID := range authorIDs { | |
result[i] = groupByAuthorID[authorID] | |
} | |
return result, nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment