package
0.0.0-20240712133535-75229b5999a3
Repository: https://github.com/agarwalconsulting/go-training.git
Documentation: pkg.go.dev

# README

Overview

Go's defer statement schedules a function call (the deferred function) to be run immediately before the function executing the defer returns.

Defer

  • defer keyword
  • defer <funcCall>
  • stacked execution - FILO
  • Clean up with defer
  • Args will be evaluated before deferring
  • defer executes even in case of panic

# Functions

No description provided by the author
No description provided by the author