News for hackers. Stuff that matters.
Re:Error Handling in Go (2016) by maximente on Saturday April 06, 2019 @12:19AM (#19589212)
don't forget the defer keyword:

from README:

// ... use session session.Close()

can be changed to this right after you get a session:

defer session.Close()

There are no comments on this comment yet.