Why I get 0 and 1 in the following golang code example with defer Why I get 0 and 1 in the following golang code example with defer go go

Why I get 0 and 1 in the following golang code example with defer