Ve a obtener valor apuntado por punteros en Golang

// Program to get the value pointed by a pointer

package main
import "fmt"

func main() {

  var name = "John"
  var ptr *string

  ptr = &name

  // * to get the value pointed by ptr
  fmt.Println(*ptr) // John

}
SAMER SAEID