IrisJavaDiary
Monday, March 18, 2019
[Go]Notes
Defer
A defer statement defers the execution of a function until the surrounding function returns.
The deferred call's arguments are evaluated immediately, but the function call is not executed until the surrounding function returns.
Closures
https://www.calhoun.io/5-useful-ways-to-use-closures-in-go/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment