[Go] Pointer
var name string
var namePointer *string // Pointer
name = "Beyonce"
namePointer = &name // Assign a Pointer
fmt.Println("Name: ", name)
fmt.Println("Name *: ", *namePointer) // Need to add * to get value
var name string
var namePointer *string // Pointer
name = "Beyonce"
namePointer = &name // Assign a Pointer
fmt.Println("Name: ", name)
fmt.Println("Name *: ", *namePointer) // Need to add * to get value