```
package main
import (
"fmt"
)
type dog struct {
Name string
}
func recv(intf interface{}) {
//how to get the &d value ?
}
func main() {
var d = dog{ Name: "Bolter"}
fmt.Printf("intf: %p\n", &d)
recv(&d)
}
```
可以用
func recv(intf interface{}) {
//how to get the &d value ?
dog := intf.(*dog)
}
来获取,心诚则灵
#3