package main import ( "fmt" "reflect" ) type Person struct { Name string Age int } func main() { p := Person{Name: "Alice", Age: 30} v := reflect.ValueOf(p) ptr := v.UnsafeAddr() fmt.Printf("Pointer to Person struct: %v\n", ptr) }In this example, we create a Person object, and then use the reflect.ValueOf method to get a reflection object representing that object. We then use the UnsafeAddr method to get the underlying pointer to the Person object, and print it out. Note that accessing the UnsafeAddr field can be dangerous, as it allows you to directly manipulate the memory of the program. Therefore, this method should be used with caution, and only when absolutely necessary. The reflect package is part of the standard library of the Go programming language.