educative.io

Educative

Defer and Tracing - The Way to Go

In the last example in this module, why are there brackets “()” after the closing braces of the defer func?

Just figured it’s an anonymous function