func main(){
dst := 1
src := 2
inter(&dst,&src)
fmt.Println(dst)
}
func inter(dst interface{}, src interface{}){
dst = src
}
更多评论
```
func inter(dst interface{}, src interface{}){
*dst.(*int) = *src.(*int)
}
```
#2