fighting for my life trying to learn golang WHAT THE FUCK IS A POINTER (rhetorical)
@kat@yarn.girlonthemoon.xyz Oh! I can totally help you 🤗 I love Go! 😍
A pointer is basically a reference to a variable. It is typically used with structs and especially in pointer receiver methods so that you can modify fields of a struct.
I can walk you through some examples later tonight when I get back if you like?
@prologic@twtxt.net oh it’s ok! thank you for the explanation! i think for me when it comes to programming i learn best by doing, so like written examples or talking about it helps less, BUT baseline explanations like what a pointer is does help! i was so confused and i still need to fix the error i’m having but i will figure it out!