Sign in
go
/
website
/
1f6ba5cfa85f6083784abf0463d41f9f1564c630
/
.
/
_content
/
tour
/
flowcontrol
/
defer-multi.go
blob: 82419d55b8b1a0151ebd7891048d20253da606d9 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
func main() {
fmt.Println("counting")
for i := 0; i < 10; i++ {
defer fmt.Println(i)
}
fmt.Println("done")
}