1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-23 20:02:22 +00:00

Merge pull request #520 from JiapengLi/patch-1

Update appendix-a-trap.md
This commit is contained in:
Xargin 2020-09-09 00:12:40 +08:00 committed by GitHub
commit d40eb86754
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -375,7 +375,7 @@ func main() {
}
```
当内存发变化的时候相关的指针会同步更新但是非指针类型的uintptr不会做同步更新。
当内存发变化的时候相关的指针会同步更新但是非指针类型的uintptr不会做同步更新。
同理CGO中也不能保存Go对象地址。