As you may know golang is a GC lang. many times we write a peace of code, but we may forgot to defer some objects. memory leaks, over allocations, guess what we may defer some objects. in this talk i’m going dive into some edge cases that might cause to bad performance and even memory leaks
Many times we are not deferring an resources while coding applications. this is very important to use modules that has good defering, also it’s tricky where we’re going to place the defer statement.
Lets drill down into few examples, bad and good principals. stay tuned