package main import "fmt" func main(){ recovertest() println("oo") } func recovertest()(err error){ defer println("a") defer func() { err = recover().(error) fmt.Println(err) println(err) }() defer println("b") a := 0 b:= 10/a println(b) return }