Struct(struct) is short for structure and is a data structure in Go to store collections of properties that are related.
Sometimes, when you are changing the value of the struct with receiver function it will not work as you are expecting it to because again Go is Value Type language. But there is a workaround this problem. You can use Pointers.
Pointers can solve this problem but it is confusing and we will talk about that in the next post.
So, please follow to receive my next post firsthand.
The Importance of Financial Independence For Software Developers
Ilona Dee Codes -
How to Get Out of (or Completely Avoid) the Tutorial Trap
Andrew Lundy -
Sliding Window Technique - From O(N²) to O(N)🔥
Muhammad Ali (Nerdjfpb) -