This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
defer , in a nutshell ¶ When learning Go, one quickly comes across the defer keyword. For instance, the Tour of Go introduces defer thus: 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. package main import 'fmt'…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.