4 ms·In Go, `defer` runs at the end of the enclosing function, not the enclosing block.by Jtsummers 4y agoIn Go, `defer` runs at the end of the enclosing function, not the enclosing block.