defer as introduced in the Tour of Go
package main | |
import "fmt" | |
func main() { | |
defer fmt.Println("world") | |
fmt.Println("hello") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment