q Read more on defer statement https://go.dev/blog/defer-panic-and-recover
defer
keyword defers the execution of a function until the current function returns (arguments evaluated immediately though).
Output:
hello
world
Deferred calls are pushed onto a stack.