Skip to main content

Command Palette

Search for a command to run...

How do you work with pointers in Go?

Published
•1 min read•View as Markdown
B
Senior Software Engineer | Backend, Cloud, Data, Machine Learning

In Go, pointers are used to store the address of a variable. The & operator is used to get the address of a variable. The * operator is used to get the value of a variable that is stored at an address.

More from this blog

yesicbap

437 posts