5 Gotchas of Defer in Go - Part I

Hi!

:fire: I published a new post! 5 Gotchas of Defer in Go — Part I.

I’ve 20 gotchas of defer in my queue, this is the first part. Protect yourself from basic defer gotchas.

In the article I’m talking about:

  • Deferred nil func
  • Defer inside a loop
  • Defer as a wrapper
  • Defer in a block
  • Deferred method gotchas

:point_right: Click here to read the new article.


:bird: My twitter: @inancgumus.
:fire: I’m creating an online course for Go: Join to my newsletter.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.