Created
December 9, 2016 20:35
-
-
Save actaeon/9b87c7046029790a52d3cf547b94a249 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
func() { | |
for _, item := range list.Items { | |
found := false | |
for _, reserved := range reserved.Items { | |
if reserved.ID == item.ID { | |
found = true | |
return | |
} | |
... do some other work ... | |
} | |
... do some other work ... | |
} | |
}() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment