There was an error while loading. Please reload this page.
//noinspection ALL package main import "fmt" func typicalFunction() (res int) { defer func() { fmt.Println("I am deferred") res = 2 return }() fmt.Println("return now") return 1 } func main() { fmt.Println(typicalFunction()) }