Skip to content

Instantly share code, notes, and snippets.

@chiiph

chiiph/defer2.go

Created Dec 26, 2012
Embed
What would you like to do?
Another defer example
func b() {
for i := 0; i < 4; i++ {
defer fmt.Print(i)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.