Files
2024-09-19 21:38:24 -04:00

17 lines
197 B
Go

package main
import "fmt"
func typicalFunction() (res int) {
defer func() {
res = 2
return
}()
res = 10
return // setup breakpoint here
}
func main() {
fmt.Println(typicalFunction())
}