mirror of https://github.com/golang/go.git
The comment claims that reflect users cannot obtain an unsafe.Pointer without also importing the unsafe package explicitly. This is no longer true now that the Value.UnsafePointer method directly returns an unsafe.Pointer. Change-Id: Ia5bf2e8aead681c8fac5b011129954d075ae5a43 Reviewed-on: https://go-review.googlesource.com/c/go/+/404396 Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Than McIntosh <thanm@google.com> |
||
|---|---|---|
| .. | ||
| internal | ||
| abi.go | ||
| abi_test.go | ||
| all_test.go | ||
| asm_386.s | ||
| asm_amd64.s | ||
| asm_arm.s | ||
| asm_arm64.s | ||
| asm_loong64.s | ||
| asm_mips64x.s | ||
| asm_mipsx.s | ||
| asm_ppc64x.s | ||
| asm_riscv64.s | ||
| asm_s390x.s | ||
| asm_wasm.s | ||
| deepequal.go | ||
| example_test.go | ||
| export_test.go | ||
| float32reg_generic.go | ||
| float32reg_ppc64x.s | ||
| float32reg_riscv64.s | ||
| makefunc.go | ||
| set_test.go | ||
| stubs_ppc64x.go | ||
| stubs_riscv64.go | ||
| swapper.go | ||
| tostring_test.go | ||
| type.go | ||
| value.go | ||
| visiblefields.go | ||
| visiblefields_test.go | ||