]> Cypherpunks repositories - gostls13.git/commit
reflect: adjust documentation on Value
authorJoe Tsai <joetsai@digital-static.net>
Tue, 31 Jan 2017 20:54:45 +0000 (12:54 -0800)
committerJoe Tsai <thebrokentoaster@gmail.com>
Wed, 1 Feb 2017 19:11:34 +0000 (19:11 +0000)
commit048b8cecc6e74b50205e803ca387ffaa7e9f37fe
treea6b811c4656b43ae54e83d630bff2c24d312a3fb
parent47ce87877b1e2d4f34bb93fe6c7d88785b318cd5
reflect: adjust documentation on Value

Make the documentation more explicit that it is not safe to directly
compare Value. Get straight to the point on how to do it correctly.

Updates #18871

Change-Id: I2aa3253f779636b2f72a1aae8c9bb45d3c32c902
Reviewed-on: https://go-review.googlesource.com/36018
Reviewed-by: Keith Randall <khr@golang.org>
src/reflect/value.go