You don't know Closure
π What is a Closure in Go?
A closure is a function value that remembers the variables from the scope in which it was created.
β
In simple terms:A closure "closes over" its environment and keeps those variable values alive even after the outer funct...
alhasib.hashnode.dev5 min read