defer
Schedules a call to run just before the current function returns, however it returns. `defer f.Close()` right after opening a file makes sure the file is closed.
Schedules a call to run just before the current function returns, however it returns. `defer f.Close()` right after opening a file makes sure the file is closed.