Back to Developer Roadmap

Function Interaction

src/data/question-groups/golang/content/function-interaction.md

4.0274 B
Original Source

When a function is called in Go, it creates a new stack frame. Once the called function completes, control goes back to the surrounding function, and any data transfer between functions is managed by the runtime.

This process is highly optimized at the machine code level.