defer statement
{
defer bar() {
}
}
The code below defines a function that defers two functions. func() will call bar() after it has completed, and the bar() will call func() after it has completed.
Shortcut: df
0 Comments
Add Comment
Log in to add a comment