Sign in
go
/
website
/
61f76368323bc93373ac67b7c759a353521fa642
/
.
/
_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")
}