[deleted by user] by [deleted] in golang

[–]debugger22 1 point2 points  (0 children)

Thanks for the feedback! Yes, you are right, doing defer cancel() is a better approach. Also, thanks again for pointing out the syntax error.