Below you will find pages that utilize the taxonomy term “Go Pointer”
Posts
Go Pointer Part II
In the previous blog-post Go Pointer Part I we have seen how we can use pointers to update the value for a given struct. There is little more left on that which we will cover here.
Go Slice is an exception and we can update the value of a slice with the index location but if we want to add more values to it then we need to use a pointer, let’s take a look at the same.
read more
Posts
Go Pointer Part I
Go lang is an open-source programming language like C, having pointers and not strongly typed language. And most importantly it is not an Object Oriented Programming(debatable) language though it has likes of defining packages and interfaces like Java.
Let’s explore the Go pointers in this post.
Pass By Reference Go follows pass by reference. Slice is an exception where we can use the index to update value, we will discuss it in the next post.
read more