Additional resources
- Go FAQ: How do I know whether a variable is allocated on the heap or the stack? https://go.dev/doc/faq#stack_or_heap
- The list of available
-gcflags
options: https://pkg.go.dev/cmd/compile - If you want to learn more about garbage collection, you should visit http://gchandbook.org/
Leave a review!
Enjoyed this book? Help readers like you by leaving an Amazon review. Scan the QR code below to get a free eBook of your choice.