package main import "fmt" func main() { fmt.Println("start\n") defer fmt.Println("1") defer fmt.Println("2") defer fmt.Println("3") fmt.Printf("end\n") }